Make sure that -fPIC is present if needed
This commit is contained in:
parent
5bd21ab6e1
commit
d6818777d1
|
@ -2,6 +2,12 @@ TOPDIR = ..
|
|||
|
||||
include ../Makefile.system
|
||||
|
||||
ifdef NEED_PIC
|
||||
ifeq (,$(findstring PIC,$(CFLAGS)))
|
||||
CFLAGS+= -fPIC
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef EXPRECISION
|
||||
EXPRECISION = 0
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue