-
Bug
-
Resolution: Fixed
-
P4
-
None
-
linux
Missing a flag when creating the libraries
ddhill@ddhlinux:~/sb/9/openjfx$ hg diff
diff -r 27c61d1a45f4 buildSrc/linux.gradle
--- a/buildSrc/linux.gradle Thu Feb 25 09:01:36 2016 -0800
+++ b/buildSrc/linux.gradle Thu Feb 25 15:26:24 2016 -0500
@@ -56,6 +56,10 @@
//ccFlags.addAll(["-Wnon-virtual-dtor", "-Woverloaded-virtual", "-std=c++0x"])
def linkFlags = ["-shared", commonFlags].flatten()
+if (IS_DEBUG_NATIVE) {
+ linkFlags += "-g"
+}
+
// Create $buildDir/linux_tools.properties file and load props from it
setupTools("linux_tools",
{ propFile ->
ddhill@ddhlinux:~/sb/9/openjfx$ hg diff
diff -r 27c61d1a45f4 buildSrc/linux.gradle
--- a/buildSrc/linux.gradle Thu Feb 25 09:01:36 2016 -0800
+++ b/buildSrc/linux.gradle Thu Feb 25 15:26:24 2016 -0500
@@ -56,6 +56,10 @@
//ccFlags.addAll(["-Wnon-virtual-dtor", "-Woverloaded-virtual", "-std=c++0x"])
def linkFlags = ["-shared", commonFlags].flatten()
+if (IS_DEBUG_NATIVE) {
+ linkFlags += "-g"
+}
+
// Create $buildDir/linux_tools.properties file and load props from it
setupTools("linux_tools",
{ propFile ->