From f0a056bab8db021c90d66eb56892f4f64b8542f8 Mon Sep 17 00:00:00 2001 From: albert <> Date: Sat, 12 Oct 2002 19:30:40 +0000 Subject: [PATCH] CFLAGS += -fpic --- proc/module.mk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/proc/module.mk b/proc/module.mk index 75b54416..b3707b90 100644 --- a/proc/module.mk +++ b/proc/module.mk @@ -65,14 +65,9 @@ $(lib)/$(SONAME) : proc/$(SONAME) # $(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 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 - $(strip $(CC) $(LIB_CFLAGS) -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -c -o $@ $<) + $(strip $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -c -o $@ $<) endif -- 2.40.0