summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-04 17:46:30 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-04 17:46:30 +0000
commitf3517108dcf89881486ddb126475a84bc811a298 (patch)
tree6f929654330723a451e0613d2e06d0cc186fc446 /src
parentcleaned file header (diff)
always use gcc for linking (not ld)
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
-rwxr-xr-xsrc/configure1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 2cc09b2..841c6fb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -34,6 +34,8 @@
include include.mk
+LD := $(CC)
+
EXECUTABLE := uanytun
CRYPT_OBJ := key_derivation.o \
diff --git a/src/configure b/src/configure
index e3cb2a8..cad9c57 100755
--- a/src/configure
+++ b/src/configure
@@ -148,7 +148,6 @@ cat >> include.mk <<EOF
TARGET := $TARGET
CC := gcc
CFLAGS := $CFLAGS
-LD := gcc
LDFLAGS := $LDFLAGS
EOF