mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 18:36:28 -04:00
Add -fPIC to fix build on amd64
Approved by: osa
This commit is contained in:
parent
36502f99cb
commit
5f5fb68ef7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94662
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
#CFLAGS = $(TFLAGS) -c -Wall -O5 -g $(DEFS)
|
||||
-CFLAGS = -c -Wall -O0 -g $(DEFS) $(TFLAGS)
|
||||
+CFLAGS = -c ${CXXFLAGS} $(DEFS) $(TFLAGS)
|
||||
+CFLAGS = -c ${CXXFLAGS} $(DEFS) $(TFLAGS) -fPIC
|
||||
#CFLAGS = -c -Wall -O0 -DFASTDB_DEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS)
|
||||
-SHFLAGS=-shared
|
||||
+SHFLAGS = -shared -Wl,-soname,$@
|
||||
|
|
Loading…
Add table
Reference in a new issue