aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in2
-rwxr-xr-xconfigure1
-rw-r--r--configure.ac1
3 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index e41684e..376670d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -111,7 +111,7 @@ COMPILE := $(CC) -MMD -MP $(CFLAGS) \
# - LIBS : Library flags (eg. -l)
LD := $(CC)
-LDFLAGS := @LDFLAGS@ $(LDFLAGS) $(march) $(mabi)
+LDFLAGS := @LDFLAGS@ -nostartfiles -nostdlib -static $(LDFLAGS) $(march) $(mabi)
LIBS := @LIBS@
LINK := $(LD) $(LDFLAGS)
diff --git a/configure b/configure
index 9f5a31b..b001ba3 100755
--- a/configure
+++ b/configure
@@ -2043,7 +2043,6 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
# Checks for programs
#-------------------------------------------------------------------------
-LDFLAGS="$LDFLAGS -nostartfiles -nostdlib -static"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
diff --git a/configure.ac b/configure.ac
index 67734fd..917179f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,7 +48,6 @@ AC_CANONICAL_HOST
# Checks for programs
#-------------------------------------------------------------------------
-LDFLAGS="$LDFLAGS -nostartfiles -nostdlib -static"
AC_PROG_CC
AC_PROG_CXX
AC_CHECK_TOOL([AR],[ar])