Commit f0a056ba authored by albert's avatar albert

CFLAGS += -fpic

parent 1f136375
...@@ -65,14 +65,9 @@ $(lib)/$(SONAME) : proc/$(SONAME) ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment