summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-09-27 00:32:01 +0000
committerMark Spencer <markster@digium.com>2003-09-27 00:32:01 +0000
commit0399d007f31092f3998c0258caf30a5e6f2933f2 (patch)
tree4bdef5eb9772d4bfa6a9a95163ddaaf2883f4f16
parentd48612ee3d0ca491d542af81faca650b981dbd2a (diff)
Use proper compiler flag for global symbols
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xMakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 616f1d212..d15b9fc2e 100755
--- a/Makefile
+++ b/Makefile
@@ -203,7 +203,7 @@ stdtime/localtime.o:
fi
asterisk: editline/libedit.a db1-ast/libdb1.a stdtime/localtime.o $(OBJS)
- $(CC) $(DEBUG) -o asterisk -rdynamic $(OBJS) $(LIBS) $(LIBEDIT) db1-ast/libdb1.a stdtime/localtime.o
+ $(CC) $(DEBUG) -o asterisk -Wl,-E $(OBJS) $(LIBS) $(LIBEDIT) db1-ast/libdb1.a stdtime/localtime.o
subdirs:
for x in $(SUBDIRS); do $(MAKE) -C $$x || exit 1 ; done
@@ -412,6 +412,6 @@ valgrind: dont-optimize
depend: .depend
for x in $(SUBDIRS); do $(MAKE) -C $$x depend || exit 1 ; done
-.depend:
+.depend: build.h
./mkdep ${CFLAGS} `ls *.c`