From 4c4df85b42551e6b61c0930ea5e92a44437d0b2b Mon Sep 17 00:00:00 2001 From: "Brian P. Hinz" Date: Sat, 19 Mar 2016 14:16:47 -0400 Subject: [PATCH] Add '-g' to CFLAGS in el5 builds to get debug info --- contrib/packages/rpm/el5/SPECS/tigervnc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5