summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure7
-rw-r--r--configure.in4
2 files changed, 6 insertions, 5 deletions
diff --git a/configure b/configure
index 1ef57d0..90ad156 100755
--- a/configure
+++ b/configure
@@ -769,7 +769,8 @@ CFLAGS
LDFLAGS
LIBS
CPPFLAGS
-CPP'
+CPP
+CPPFLAGS'
# Initialize some variables set by options.
@@ -7551,8 +7552,8 @@ then
IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
SunOS/5*)
if test "$GCC" = "yes"
- then LDSHARED='$(CC) -shared'
- else LDSHARED='$(CC) -G';
+ then LDSHARED='$(CC) -shared $(LDFLAGS)'
+ else LDSHARED='$(CC) -G $(LDFLAGS)';
fi ;;
hp*|HP*)
if test "$GCC" = "yes"
diff --git a/configure.in b/configure.in
index 3c6bd6f..9b7a5a7 100644
--- a/configure.in
+++ b/configure.in
@@ -1758,8 +1758,8 @@ then
IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
SunOS/5*)
if test "$GCC" = "yes"
- then LDSHARED='$(CC) -shared'
- else LDSHARED='$(CC) -G';
+ then LDSHARED='$(CC) -shared $(LDFLAGS)'
+ else LDSHARED='$(CC) -G $(LDFLAGS)';
fi ;;
hp*|HP*)
if test "$GCC" = "yes"