1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix build on amd64 (shared library objects must be built with -fPIC)

This commit is contained in:
Kris Kennaway 2004-03-14 05:18:33 +00:00
parent 14a6b7d68e
commit bf7e022ebc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103961

View File

@ -1,5 +1,5 @@
--- Makefile Mon Nov 17 02:32:09 1997
+++ Makefile.new Fri Dec 14 21:08:26 2001
--- Makefile.orig Mon Nov 17 02:32:09 1997
+++ Makefile Sat Mar 13 21:18:05 2004
@@ -19,11 +19,10 @@
#
@ -11,7 +11,7 @@
-OPTIMIZER = -O
-CFLAGS = $(OPTIMIZER) $(PLUGIN_DEFINES)
+CC ?= gcc
+CFLAGS += $(PLUGIN_DEFINES)
+CFLAGS += $(PLUGIN_DEFINES) -fPIC
SRC= sidplug.c npunix.c
OBJ= sidplug.o npunix.o