Commits

ecsv committed 743e143

Explicitly disable PIC in case of PIC=0

Comments (0)

Files changed (1)

projects/unix/Makefile

 ifeq ($(PIC), 1)
   CFLAGS += -fPIC
   LDFLAGS += -fPIC
+else
+  CFLAGS += -fno-PIC
+  LDFLAGS += -fno-PIC
 endif
 
 ifeq ($(BIG_ENDIAN), 1)