make/common/NativeCompilation.gmk
changeset 34493 c68e0ab807d8
parent 34117 afc734a1cf3b
child 34596 e8328ce5b64e
--- a/make/common/NativeCompilation.gmk	Thu Dec 10 09:23:36 2015 -0800
+++ b/make/common/NativeCompilation.gmk	Fri Dec 11 21:58:28 2015 +0900
@@ -513,6 +513,10 @@
     $1_EXTRA_CXXFLAGS:=$$($1_EXTRA_CFLAGS)
   endif
 
+  ifeq ($(DEBUG_BINARIES), true)
+    $1_EXTRA_CFLAGS+=$(CFLAGS_DEBUG_SYMBOLS)
+    $1_EXTRA_CXXFLAGS+=$(CXXFLAGS_DEBUG_SYMBOLS)
+  endif
   ifeq ($$($1_DEBUG_SYMBOLS), true)
     ifeq ($(ENABLE_DEBUG_SYMBOLS), true)
       ifdef OPENJDK