From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.2.5 Date: Wed, 4 Mar 2009 09:18:56 +0000 From: Andrey Rahmatullin To: devel@lists.altlinux.org Message-ID: <20090304091856.GE16490@wrar.name> References: <49AE1EA1.1070904@mmedia2.kemsu.ru> <20090304082044.GA26547@altlinux.org> <49AE3CC2.70408@mmedia2.kemsu.ru> <20090304083842.GB26547@altlinux.org> <49AE41D5.3020003@mmedia2.kemsu.ru> <20090304090638.GC16490@wrar.name> <921f6bb40903040115t339469b4g245a9c74a725b29b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <921f6bb40903040115t339469b4g245a9c74a725b29b@mail.gmail.com> X-Operating-System: ALT Linux Sisyphus X-Jabber-Id: wrar@altlinux.org User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: [devel] x86_64 C compiler cannot create executables X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 09:19:03 -0000 Archived-At: List-Archive: List-Post: On Wed, Mar 04, 2009 at 12:15:09PM +0300, Evgeny Sinelnikov wrote: > >> %optflags теперь obsoleted? > > Речь была не про optflags. > Дайте я угадаю? Неужели речь об %autoreconf || echo stay here ? Да нет, про export CFLAGS с мусором > Я не понимаю зачем давать обидные намёки на, определённо, не очевидные вещи... Я не знаю, почему они для вас неочевидны. Впрочем, тут ещё был намёк на %build # variables TOPDIR=`pwd` top_srcdir=$TOPDIR COPTIM="%optflags" export COPTIM CXXOPTIM=$COPTIM export CXXOPTIM FOPTIM=$COPTIM export FOPTIM CFLAGS="$COPTIM -I%_includedir/X11 -I$TOPDIR/lib/ccif -I$TOPDIR/lib/src %optflags_shared" export CFLAGS CPPFLAGS=$CFLAGS export CPPFLAGS CXXFLAGS=$CFLAGS export CXXFLAGS export top_srcdir XFFLAGS="$FOPTIM -fno-second-underscore -fno-stack-protector" XFFLAGS="-w $XFFLAGS -fPIC" export XFFLAGS FFLAGS=$XFFLAGS export FFLAGS F=f export F FC=f77 export FC CC=gcc export CC RANLIB=ranlib export RANLIB SETFLAGS="lgglib_FLAGS='$XFFLAGS -O0' arp_waters_FLAGS='$XFFLAGS" SETFLAGS="$SETFLAGS $FOPTIM -fforce-mem' " export SETFLAGS M4="m4 -D_f2c=1" export M4 XCFLAGS="-DPROTOTYPE" export XCFLAGS XCXXFLAGS=" " export XCXXFLAGS F_LIBS="-lg2c" export F_LIBS CLIBD=$TOPDIR/lib/data export CLIBD LIBS="-lpython%__python_version -lrfftw -ltcl -lm" export LIBS [...] %install TOPDIR=`pwd` COPTIM="%optflags" export COPTIM CXXOPTIM=$COPTIM export CXXOPTIM FOPTIM=$COPTIM export FOPTIM CFLAGS="$COPTIM -I%_includedir/X11 -I$TOPDIR/lib/ccif -I$TOPDIR/lib/src %optflags_shared" export CFLAGS CPPFLAGS=$CFLAGS export CPPFLAGS CXXFLAGS=$CFLAGS export CXXFLAGS top_srcdir=$TOPDIR export top_srcdir XFFLAGS="$FOPTIM -fno-second-underscore -fno-stack-protector" XFFLAGS="-w $XFFLAGS -fPIC" export XFFLAGS FFLAGS=$XFFLAGS export FFLAGS F=f export F FC=f77 export FC CC=gcc export CC RANLIB=ranlib export RANLIB SETFLAGS="lgglib_FLAGS='$XFFLAGS -O0' arp_waters_FLAGS='$XFFLAGS" SETFLAGS="$SETFLAGS $FOPTIM -fforce-mem' " export SETFLAGS M4="m4 -D_f2c=1" export M4 XCFLAGS="-DPROTOTYPE" export XCFLAGS XCXXFLAGS=" " export XCXXFLAGS F_LIBS="-lg2c" export F_LIBS CLIBD=$TOPDIR/lib/data export CLIBD LIBS="-lpython%__python_version -lrfftw -ltcl -lm" export LIBS Из предыдущего спека, который мне не дали прокомментировать.