mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-07 22:58:11 +00:00
27 lines
519 B
Plaintext
27 lines
519 B
Plaintext
|
--- configure.orig Sun May 17 18:49:16 1998
|
||
|
+++ configure Sun May 17 18:50:22 1998
|
||
|
@@ -1505,19 +1505,10 @@
|
||
|
|
||
|
|
||
|
|
||
|
-if test "$GCC" = yes; then
|
||
|
- ELF_CC="gcc"
|
||
|
- ELF_CFLAGS="-O2 -fno-strength-reduce -fPIC"
|
||
|
- ELF_LINK="gcc -shared -Wl,-soname#"
|
||
|
- ELF_LINK_CMD="\$(ELF_LINK),\$(ELFLIB_MAJOR)"
|
||
|
-else
|
||
|
- ELF_CC="cc"
|
||
|
- ELF_CFLAGS="-K pic"
|
||
|
- ELF_LINK="ld -G -z text"
|
||
|
- ELF_LINK_CMD="\$(ELF_LINK)"
|
||
|
-fi
|
||
|
-
|
||
|
-
|
||
|
+ELF_CC="\$(CC)"
|
||
|
+ELF_CFLAGS="\$(CFLAGS) -fPIC"
|
||
|
+ELF_LINK="\$(CC) -shared -Wl,-x"
|
||
|
+ELF_LINK_CMD="\$(ELF_LINK)"
|
||
|
|
||
|
|
||
|
|