On Thu, Apr 21, 2005 at 09:46:56 +0300, Elan Ruusamäe wrote:

> what's the most appropriate way to setup my build environment with custom 
> CFLAGS?

rpmrc:

optflags: athlon -O2 -march=athlon -pipe -s -z combreloc -DNDEBUG 
-DG_DISABLE_ASSERT -fomit-frame-pointer -fforce-addr -ffast-math 
%{!?nospecflags:%{?specflags:%{specflags}}%{?specflags_ia32: 
%{specflags_ia32}}%{?specflags_athlon: %{specflags_athlon}}}

rpmmacros:

%rpmldflags     %{!?debug:-s -z combreloc}

> and perhaps i want just compile for pentium3. how do i configure my rpm build 
> all packages for p3? (rpmbuild --target is not the option i'm searching for)

rpmrc:
buildarchtranslate: pentium3: pentium3

-- 
GoTaR <priv0.onet.pl->gotar>        http://vfmg.sourceforge.net/
                                    http://tccs.sourceforge.net/

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to