I was experimenting with some PKGBUILDs, and notices this: g++ -I../include -I. -I../natfeat -I../uae_cpu -I../gui-sdl -DHAVE_CONFIG_H -DOS_linux -DCPU_i386 -DDIRSEPARATOR=\"\/\" -D_GNU_SOURCE -DFIXED_ADDRESSING -DFMEMORY=0x51000000 -DUNALIGNED_PROFITABLE -DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE -DUSE_JIT=1 -DUSE_JIT_FPU=1 -DFPU_IEEE -DENABLE_EXCLUSIVE_SPCFLAGS -D_REENTRANT -D_THREAD_SAFE -O3 -march=i686 -pipe -Wl,-O1 -fomit-frame-pointer -fno-rtti -fno-exceptions -fno-gcse-sm -I/usr/include/SDL -D_REENTRANT -DARANYM_DATADIR="\"/usr/share/aranym\"" -c ../main.cpp -o obj/main.o g++: -O1: linker input file unused because linking not done
notice the warning above. It seems like the default CFLAG(and CXXFLAGS) in makepkg.conf is wrong (or I dont understand) -- makepkg.conf -- export CFLAGS="-march=i686 -O2 -pipe -Wl,-O1" export CXXFLAGS="-march=i686 -O2 -pipe -Wl,-O1" -- makepkg.conf -- IIRC the makepkg.conf had something like: export CFLAGS="-march=i686 -O2 -pipe" export CXXFLAGS="-march=i686 -O2 -pipe" Is it Judd who handles this file? I would like to put up a request of having some info on ccache[1] in makepkg.conf. Or should I fill a bug report? [1] - http://ccache.samba.org/ -- cso _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
