1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

-Respect CFLAGS

-Add -fPIC
This commit is contained in:
Tilman Keskinoz 2003-07-07 23:51:04 +00:00
parent 843277c314
commit cb27d133b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84417

View File

@ -0,0 +1,20 @@
--- Makefile.in.orig Sat Feb 2 23:47:13 2002
+++ Makefile.in Tue Jul 8 01:42:36 2003
@@ -3,7 +3,7 @@
CC = @CC@
INSTALL = @INSTALL@
LIBS = @LIBS@
-CFLAGS = -O -Wall @CFLAGS@ @DEFS@ -DVERSION=\"@VERSION@\"
+CFLAGS+= -fPIC -Wall @CFLAGS@ @DEFS@ -DVERSION=\"@VERSION@\"
LDFLAGS = @LDFLAGS@ $(LIBS) -shared
PREFIX = @prefix@
INSTALLPATH = @libdir@
@@ -32,7 +32,7 @@
$(INSTALL) alert.wav $(INSTALLPATH)
mailnotify: $(OBJS)
- $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS)
+ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LDFLAGS)
mailnotify.o: mailnotify.c