[git commit] buildsys: Do not strip library if DODEBUG

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Mon Oct 1 17:51:04 UTC 2018


commit: https://git.uclibc.org/uClibc++/commit/?id=68deb62883008f7a0753b3b414ff99102ae83b21
branch: https://git.uclibc.org/uClibc++/commit/?id=refs/heads/master

The logic was backwards, stripped for debug, did not strip if debug

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 src/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index a479d57..d3071c3 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,6 +1,6 @@
 WR_CXX := WRAPPER_INCLUDEDIR=-I$(top_srcdir)include $(WRAPPER)
 
-LDFLAGS-$(DODEBUG)-$(LIBNAME).so += -Wl,-s
+LDFLAGS-$(if $(DODEBUG),,$(DODEBUG))-$(LIBNAME).so += -Wl,-s
 LDFLAGS-$(LIBNAME).so += -nodefaultlibs -shared
 LIBS-$(LIBNAME).so += $(BUILD_EXTRA_LIBRARIES) $(LIBS)
 


More information about the uClibc-cvs mailing list