mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
- Fix build on AMD64
Approved by: maintainer informed
This commit is contained in:
parent
0b5d8ca39a
commit
6ad8e8744e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100538
@ -9,7 +9,7 @@
|
||||
-CFLAGS=-O0 -Wall -g $(INCLUDE)
|
||||
+FLEX=/usr/bin/flex
|
||||
+INCLUDE=-I.. -I/usr/include/rpcsvc/
|
||||
+CFLAGS+=-Wall $(INCLUDE)
|
||||
+CFLAGS+=-Wall $(INCLUDE) -fPIC
|
||||
ALLOBJS=mstore.o
|
||||
TARGET=mstore_driver.o
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
INCLUDE=-I..
|
||||
-CFLAGS=-O0 -Wall -g $(INCLUDE)
|
||||
-ALLOBJS=icap.o icaproutines.o lex.ical_yy.o lex.icap_yy.o
|
||||
+CFLAGS+=-Wall $(INCLUDE)
|
||||
+CFLAGS+=-Wall $(INCLUDE) -fPIC
|
||||
+ALLOBJS=icap.o icaproutines.o lex.icap_yy.o
|
||||
TARGET=icap_driver.o
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
INCLUDE=@DRIVER_INCDIR@ ${OTHERINCDIR} -I.
|
||||
|
||||
-CFLAGS=-O0 -Wall -g ${INCLUDE} ${OTHER_CFLAGS}
|
||||
+CFLAGS+=-Wall ${INCLUDE} ${OTHER_CFLAGS} -D_REENTRANT
|
||||
+CFLAGS+=-Wall ${INCLUDE} ${OTHER_CFLAGS} -D_REENTRANT -fPIC
|
||||
|
||||
LIBOBJS=mcal.o datetime.o lex.ical_yy.o icalroutines.o cal_misc.o $(DRIVER_LIBS)
|
||||
ALLOBJS=${LIBOBJS} tester.o
|
||||
|
Loading…
Reference in New Issue
Block a user