Skip to contentSkip to conversation

qt5base: stop qt stripping installed libraries

PATCH Superseded will_wagner at carallon.com 3 participants 3 messages May 28, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5base: stop qt stripping installed libraries

From: Will Wagner <[email protected]>

By default the 'make install' step for qt5base will strip all the binaries and libraries when they are stinalled to staging. This hinders debugging as the libries in staging dir have been stripped and is unnecessary as buildroot will strip all files on the target

---
 .../qt5/qt5base/qt5base-0002-mkspecs-files.patch   |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
package/qt5/qt5base/qt5base-0002-mkspecs-files.patch +2 -1
index 06436b4..6283bbe 100644
@@ -14,13 +14,14 @@ Index: b/mkspecs/devices/linux-buildroot-g++/qmake.conf
 ===================================================================
 --- /dev/null
 +++ b/mkspecs/devices/linux-buildroot-g++/qmake.conf
-@@ -0,0 +1,11 @@
+@@ -0,0 +1,12 @@
 +include(../common/linux_device_pre.conf)
 +
 +#modifications to gcc-base.conf
 +QMAKE_CFLAGS           += $${BR_COMPILER_CFLAGS}
 +QMAKE_CXXFLAGS         += $${BR_COMPILER_CXXFLAGS}
 +QMAKE_CXXFLAGS_RELEASE += -O3
++CONFIG                 += nostrip
 +
 +QMAKE_LIBS             += -lrt -lpthread -ldl
 +
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 1/1 qt5base: stop qt stripping installed libraries

Will, All,

On 2014-05-28 20:44 +0100, will_wagner at carallon.com spake thusly:

Quoted 4 lines

From: Will Wagner <[email protected]>

By default the 'make install' step for qt5base will strip all the binaries and libraries when they are stinalled to staging. This hinders debugging

stinalled? :-)

Quoted 4 lines

as the libries in staging dir have been stripped and is unnecessary as buildroot will strip all files on the target

Otherwise, I'm OK with what this change is supposed to do. Not a Qt expert, so not sure this is the correct way of doing things, so:

Regards,
Yann E. MORIN.

Quoted 32 lines
---
 .../qt5/qt5base/qt5base-0002-mkspecs-files.patch   |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
package/qt5/qt5base/qt5base-0002-mkspecs-files.patch +2 -1
index 06436b4..6283bbe 100644
@@ -14,13 +14,14 @@ Index: b/mkspecs/devices/linux-buildroot-g++/qmake.conf
 ===================================================================
 --- /dev/null
 +++ b/mkspecs/devices/linux-buildroot-g++/qmake.conf
-@@ -0,0 +1,11 @@
+@@ -0,0 +1,12 @@
 +include(../common/linux_device_pre.conf)
 +
 +#modifications to gcc-base.conf
 +QMAKE_CFLAGS           += $${BR_COMPILER_CFLAGS}
 +QMAKE_CXXFLAGS         += $${BR_COMPILER_CXXFLAGS}
 +QMAKE_CXXFLAGS_RELEASE += -O3
++CONFIG                 += nostrip
 +
 +QMAKE_LIBS             += -lrt -lpthread -ldl
 +
Signature · 7 lines
1.7.2.5


_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 qt5base: stop qt stripping installed libraries

Quoted 6 lines · On Wed, 28 May 2014 21:54:28 +0200 "Yann E. MORIN" <[email protected]>…
Quoted 3 lines

By default the 'make install' step for qt5base will strip all the binaries and libraries when they are stinalled to staging. This hinders debugging

stinalled? :-)

Coffee cup in right hand.
(LLrr ... rather than rrLL ...)

Mike