Fixed "relocation R_ARM_THM_MOVW_ABS_NC ... when making shared object" for non-X86 targets
parent
885b94707c
commit
6e8d8c4ff9
|
|
@ -126,6 +126,13 @@ CXXFLAGS += -Wa,--divide # allow use of "/" operator
|
|||
endif
|
||||
endif
|
||||
|
||||
else # Not IS_X86
|
||||
|
||||
# Add PIC
|
||||
ifeq ($(findstring -fPIC,$(CXXFLAGS)),)
|
||||
CXXFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
endif # IS_X86
|
||||
|
||||
ifeq ($(UNAME),) # for DJGPP, where uname doesn't exist
|
||||
|
|
|
|||
Loading…
Reference in New Issue