diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libslang/files/patch-ad | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/libslang/files/patch-ad b/devel/libslang/files/patch-ad new file mode 100644 index 000000000000..d65504de3b80 --- /dev/null +++ b/devel/libslang/files/patch-ad @@ -0,0 +1,26 @@ +--- 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)" + + + |