[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] -g in LDFLAGS?
From: |
Vadim Zeitlin |
Subject: |
[lmi] -g in LDFLAGS? |
Date: |
Fri, 5 Aug 2005 00:53:04 +0200 |
Hello again,
I might be missing something but I don't see -g in LDFLAGS by default
which is inconsistent with having it in C[XX]FLAGS. Because of missing
-g the linked executables don't contain debug info even though it's present
in the obejct files.
Would it be ok to apply this patch:
Index: workhorse.make
===================================================================
RCS file: /cvsroot/lmi/lmi/workhorse.make,v
retrieving revision 1.41
diff -b -u -2 -r1.41 workhorse.make
--- workhorse.make 2 Aug 2005 21:09:29 -0000 1.41
+++ workhorse.make 4 Aug 2005 22:46:18 -0000
@@ -316,4 +325,5 @@
LDFLAGS = \
+ -g \
$(gprof_flag) \
-Wl,-Map,address@hidden \
@@ -359,4 +369,5 @@
REQUIRED_LDFLAGS = \
+ -g \
-L . \
-L $(system_root)/opt/lmi/third-party/lib \
?
Thanks,
VZ
- [lmi] -g in LDFLAGS?,
Vadim Zeitlin <=