make/test/JtregNativeJdk.gmk
changeset 54824 adb3a3aa2e52
parent 54448 cd2879e0c165
child 54987 2ffbc00d87ae
--- a/make/test/JtregNativeJdk.gmk	Thu Apr 25 17:27:37 2019 +0100
+++ b/make/test/JtregNativeJdk.gmk	Thu Mar 14 14:04:39 2019 +0100
@@ -84,6 +84,13 @@
   BUILD_JDK_JTREG_EXCLUDE += exeJniInvocationTest.c
 endif
 
+ifeq ($(call isTargetOs, linux), true)
+  # Unconditionally compile with debug symbols and don't ever perform
+  # stripping during the test libraries' build.
+  BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libFib := -g
+  BUILD_JDK_JTREG_LIBRARIES_STRIP_SYMBOLS_libFib := false
+endif
+
 # This evaluation is expensive and should only be done if this target was
 # explicitly called.
 ifneq ($(filter build-test-jdk-jtreg-native, $(MAKECMDGOALS)), )