diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-12 19:28:50 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-12 19:28:50 +0000 |
commit | 01dc2086a7b722133ce6d1582e4226942d590cb0 (patch) | |
tree | 5aa57d9a5f1feab107a7e023ff343b533bde0f1e | |
parent | 88ee4ab7909044781040f79ce21a6bf66c90c2a9 (diff) | |
download | skalibs-01dc2086a7b722133ce6d1582e4226942d590cb0.tar.xz |
Add -Bsymbolicv2.3.6.1
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | configure | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -24,7 +24,6 @@ CPPFLAGS_ALL := -Isrc/include $(CPPFLAGS) CFLAGS_ALL := $(CFLAGS) -pipe -Wall CFLAGS_SHARED := -fPIC LDFLAGS_ALL := $(LDFLAGS) -LDFLAGS_SHARED := -shared LDLIBS_ALL := $(LDLIBS) REALCC = $(CROSS_COMPILE)$(CC) AR := $(CROSS_COMPILE)ar @@ -172,6 +172,7 @@ CFLAGS_AUTO="$CFLAGS" CPPFLAGS_AUTO="-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -O2 $CPPFLAGS" LDFLAGS_AUTO="$LDFLAGS" LDFLAGS_NOSHARED= +LDFLAGS_SHARED=-shared prefix= dynlibdir='$prefix/lib' libdir='$prefix/lib/$package' @@ -334,6 +335,7 @@ tryflag CPPFLAGS_AUTO -Werror=pointer-arith if $shared ; then tryldflag LDFLAGS_AUTO -Wl,--hash-style=both + tryldflag LDFLAGS_SHARED -Wl,-Bsymbolic fi if test -n "$sysdeps" ; then @@ -525,6 +527,7 @@ CFLAGS := $CFLAGS_AUTO CPPFLAGS := $CPPFLAGS_AUTO LDFLAGS := $LDFLAGS_AUTO LDFLAGS_NOSHARED := $LDFLAGS_NOSHARED +LDFLAGS_SHARED := $LDFLAGS_SHARED CROSS_COMPILE := $cross EOF if test -n "$vpaths" ; then |