CFLAGS += -fpic
This commit is contained in:
parent
1f13637522
commit
f0a056bab8
@ -65,14 +65,9 @@ $(lib)/$(SONAME) : proc/$(SONAME)
|
|||||||
# $(install) --mode a=r $< $@
|
# $(install) --mode a=r $< $@
|
||||||
|
|
||||||
|
|
||||||
# CUSTOM c -> o rule so that command-line has minimal whitespace
|
|
||||||
%.o : %.c
|
|
||||||
$(strip $(CC) $(LIB_CFLAGS) -c $<)
|
|
||||||
|
|
||||||
|
|
||||||
proc/version.o: proc/version.c proc/version.h
|
proc/version.o: proc/version.c proc/version.h
|
||||||
ifdef MINORVERSION
|
ifdef MINORVERSION
|
||||||
$(strip $(CC) $(LIB_CFLAGS) -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\" -c -o $@ $<)
|
$(strip $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\" -c -o $@ $<)
|
||||||
else
|
else
|
||||||
$(strip $(CC) $(LIB_CFLAGS) -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -c -o $@ $<)
|
$(strip $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -c -o $@ $<)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user