summaryrefslogtreecommitdiffstats
path: root/redhat/tdeedu
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdeedu')
-rw-r--r--redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec b/redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec
index 8748a13eb..40e829b90 100644
--- a/redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec
+++ b/redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec
@@ -1335,8 +1335,8 @@ export KDEDIR=%{tde_prefix}
# Specific path for RHEL4
if [ -d /usr/X11R6 ]; then
- export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
- export CFLAGS="${CFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
%configure \