diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-01-15 23:25:15 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-01-15 23:25:15 +0800 |
commit | cacef12b385204db9a09d0f31321df7fbfd8c739 (patch) | |
tree | b5ceffdfcbf60575462104490020a09dbba1ad2b | |
parent | 18bb1df81ebd65062f84f25f8809c7172d3514ec (diff) | |
download | freebsd-ports-gnome-cacef12b385204db9a09d0f31321df7fbfd8c739.tar.gz freebsd-ports-gnome-cacef12b385204db9a09d0f31321df7fbfd8c739.tar.zst freebsd-ports-gnome-cacef12b385204db9a09d0f31321df7fbfd8c739.zip |
- Fix building on amd64 (move -fPIC from LDFLAGS to CFLAGS).
Reported by: pointyhat
-rw-r--r-- | games/q2pro/files/patch-build__ref_newgl.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games/q2pro/files/patch-build__ref_newgl.mk b/games/q2pro/files/patch-build__ref_newgl.mk new file mode 100644 index 000000000000..6d0c290960ec --- /dev/null +++ b/games/q2pro/files/patch-build__ref_newgl.mk @@ -0,0 +1,14 @@ +--- build/ref_newgl.mk.orig Mon Jan 15 12:13:34 2007 ++++ build/ref_newgl.mk Mon Jan 15 12:20:31 2007 +@@ -9,9 +9,9 @@ + VPATH += $(INSTALLDIR)/ref_newgl \ + $(INSTALLDIR)/ref_shared + +-LDFLAGS += -lm -ljpeg -shared -fPIC ++LDFLAGS += -lm -ljpeg -shared + CFLAGS += -DOPENGL_RENDERER -DTRUECOLOR_RENDERER -DUSE_LIBJPEG +-CFLAGS_LINUX += -DUSE_LIBPNG ++CFLAGS_LINUX += -DUSE_LIBPNG -fPIC + LDFLAGS_LINUX += -lpng + + ifeq (win32,$(TARGETOS)) |