]> git.pld-linux.org Git - packages/tk.git/commitdiff
- fix passing $RPM_OPT_FLAGS.
authorkloczek <kloczek@pld-linux.org>
Mon, 7 Jun 1999 15:46:30 +0000 (15:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tk.spec -> 1.16

tk.spec

diff --git a/tk.spec b/tk.spec
index 080f6fde3d85f5e6c12438095b89aee2384598c1..53ac023265320e6a908717750b78c6bfd462fc03 100644 (file)
--- a/tk.spec
+++ b/tk.spec
@@ -87,12 +87,12 @@ Narz
 cd unix
 autoconf
 TCL_BIN_DIR=%{_libdir} \
-CFLAGS="$RPM_OPT_FLAGS -D_REENTRANT" LDFLAGS="-s" \
+LDFLAGS="-s" \
 ./configure %{_target_platform} \
        --prefix=%{_prefix} \
        --enable-shared \
        --enable-gcc
-make
+make CFLAGS_OPTIMIZE="$RPM_OPT_FLAGS -D_REENTRANT"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.036383 seconds and 4 git commands to generate.