From 80b03b2f7d0021d1704bb21ac952b5cc9f76a675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 24 Jun 2013 19:52:31 +0200 Subject: RPM Packaging: update existing SPEC files --- redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec') 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 \ -- cgit v1.2.1