diff options
Diffstat (limited to 'redhat/tdebase')
-rw-r--r-- | redhat/tdebase/trinity-kdebase-3.5.13.1.spec | 4 | ||||
-rw-r--r-- | redhat/tdebase/trinity-kdebase-3.5.13.spec | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/redhat/tdebase/trinity-kdebase-3.5.13.1.spec b/redhat/tdebase/trinity-kdebase-3.5.13.1.spec index ad481b77e..f58a045fb 100644 --- a/redhat/tdebase/trinity-kdebase-3.5.13.1.spec +++ b/redhat/tdebase/trinity-kdebase-3.5.13.1.spec @@ -3105,8 +3105,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} 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} |