- Fix building on amd64 (move -fPIC from LDFLAGS to CFLAGS).
Reported by: pointyhat
This commit is contained in:
parent
e6951b3559
commit
2518b329ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182438
1 changed files with 14 additions and 0 deletions
14
games/q2pro/files/patch-build__ref_newgl.mk
Normal file
14
games/q2pro/files/patch-build__ref_newgl.mk
Normal file
|
@ -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))
|
Loading…
Reference in a new issue