From: Brian P. Hinz Date: Sat, 19 Mar 2016 18:16:47 +0000 (-0400) Subject: Add '-g' to CFLAGS in el5 builds to get debug info X-Git-Tag: v1.6.90~46 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4c4df85b42551e6b61c0930ea5e92a44437d0b2b;p=tigervnc.git Add '-g' to CFLAGS in el5 builds to get debug info --- diff --git a/contrib/packages/rpm/el5/SPECS/tigervnc.spec b/contrib/packages/rpm/el5/SPECS/tigervnc.spec index 72bd4a5a..16c185ed 100644 --- a/contrib/packages/rpm/el5/SPECS/tigervnc.spec +++ b/contrib/packages/rpm/el5/SPECS/tigervnc.spec @@ -457,7 +457,7 @@ popd %build export CC=gcc44 export CXX=g++44 -export CFLAGS="$RPM_OPT_FLAGS -fPIC" +export CFLAGS="-g $RPM_OPT_FLAGS -fPIC" export CXXFLAGS="$CFLAGS -static-libgcc" export PYTHON=python26