add no_fPIC option
This commit is contained in:
parent
acd655af09
commit
6cf29586db
5
makefile
5
makefile
@ -50,7 +50,10 @@ OUTPUT := BQN
|
|||||||
|
|
||||||
ifeq ($(i_SHARED),1)
|
ifeq ($(i_SHARED),1)
|
||||||
i_PIE := -shared
|
i_PIE := -shared
|
||||||
SHARED_CCFLAGS := -fPIC -DCBQN_SHARED
|
SHARED_CCFLAGS := -DCBQN_SHARED
|
||||||
|
ifneq ($(no_fPIC),1)
|
||||||
|
SHARED_CCFLAGS += -fPIC
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
SHARED_CCFLAGS :=
|
SHARED_CCFLAGS :=
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user