projects
/
platform
/
upstream
/
glib2.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5c5683
)
Add '-Wl,--as-needed' option
author
Boram Park
<boram1288.park@samsung.com>
Thu, 18 Nov 2010 05:05:31 +0000
(14:05 +0900)
committer
Boram Park
<boram1288.park@samsung.com>
Thu, 18 Nov 2010 05:05:31 +0000
(14:05 +0900)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index
03721b0
..
93dff63
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-31,7
+31,7
@@
CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
# Ensure the build aborts when there are still references to undefined
# symbols
-LDFLAGS += -Wl,-z,defs
+LDFLAGS += -Wl,-z,defs
-Wl,--as-needed
# NB: do NOT use -Wl,--as-needed to build glib; for instance the link to
# pthread is carefully crafted to allow dlopen()ing pthread-using libs; see