summaryrefslogtreecommitdiffstats
path: root/redhat/tdeutils
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdeutils')
-rw-r--r--redhat/tdeutils/tdeutils-3.5.13.2.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/redhat/tdeutils/tdeutils-3.5.13.2.spec b/redhat/tdeutils/tdeutils-3.5.13.2.spec
index 35d023e11..4350fc161 100644
--- a/redhat/tdeutils/tdeutils-3.5.13.2.spec
+++ b/redhat/tdeutils/tdeutils-3.5.13.2.spec
@@ -981,8 +981,7 @@ 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="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
- export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}