summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/trinity-kdebase-3.5.13.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdebase/trinity-kdebase-3.5.13.spec')
-rw-r--r--redhat/tdebase/trinity-kdebase-3.5.13.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/tdebase/trinity-kdebase-3.5.13.spec b/redhat/tdebase/trinity-kdebase-3.5.13.spec
index 13cfdd037..5e69920e9 100644
--- a/redhat/tdebase/trinity-kdebase-3.5.13.spec
+++ b/redhat/tdebase/trinity-kdebase-3.5.13.spec
@@ -3186,8 +3186,8 @@ export KDEDIR=%{tde_prefix}
# Shitty hack for RHEL4 ...
if [ -d /usr/X11R6 ]; then
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH=}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
- export CFLAGS="${CFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
- export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}