Makefile in ${WORKDIR}/miscsplashutils-0.1.6/fbtruetype ignores CFLAGS and LDFLAGS. Makefile in ${WORKDIR}/splashutils-1.4.2 ignores CFLAGS and LDFLAGS. # emerge -ptv splashutils These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] media-gfx/splashutils-1.4.2 USE="gpm hardened mng png truetype" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB # CFLAGS="..." CXXFLAGS="..." emerge -1atv splashutils ... >>> Compiling source in /var/tmp/portage/media-gfx/splashutils-1.4.2/work/splashutils-1.4.2 ... cc -march=athlon64 -msse3 -pipe -O3 -floop-optimize2 -fno-ident -fomit-frame-pointer fbres.c -o fbres cc -march=athlon64 -msse3 -pipe -O3 -floop-optimize2 -fno-ident -fomit-frame-pointer usleep.c -o usleep true usleep true fbres make[1]: Wejście do katalogu `/var/tmp/portage/media-gfx/splashutils-1.4.2/work/miscsplashutils-0.1.6/fbtruetype' gcc -O2 -Wall -I/usr/include/freetype2 -c -o fbtruetype.o fbtruetype.c gcc -O2 -Wall -I/usr/include/freetype2 -c -o messages.o messages.c gcc -O2 -Wall -I/usr/include/freetype2 -c -o console.o console.c fbtruetype.c:39: warning: pointer targets in initialization differ in signedness fbtruetype.c: In function ‘main’: fbtruetype.c:105: warning: pointer targets in assignment differ in signedness fbtruetype.c:143: warning: pointer targets in passing argument 2 of ‘rendertext’ differ in signedness gcc -O2 -Wall -I/usr/include/freetype2 -c -o ttf.o ttf.c gcc -O2 -Wall -I/usr/include/freetype2 -c -o luxisri.o luxisri.c ttf.c: In function ‘rendertext’: ttf.c:799: warning: pointer targets in assignment differ in signedness gcc -O2 -Wall -I/usr/include/freetype2 -L/usr/lib -o fbtruetype -L/usr/lib fbtruetype.o messages.o console.o ttf.o luxisri.o -lfreetype -lm gcc -O2 -Wall -I/usr/include/freetype2 -L/usr/lib -static -o fbtruetype.static -L/usr/lib fbtruetype.o messages.o console.o ttf.o luxisri.o /usr/lib/libfreetype.a /usr/lib/libz.a -lm true -s fbtruetype fbtruetype.static make[1]: Opuszczenie katalogu `/var/tmp/portage/media-gfx/splashutils-1.4.2/work/miscsplashutils-0.1.6/fbtruetype' make[1]: Wejście do katalogu `/var/tmp/portage/media-gfx/splashutils-1.4.2/work/miscsplashutils-0.1.6/kbd' cc -march=athlon64 -msse3 -pipe -O3 -floop-optimize2 -fno-ident -fomit-frame-pointer -c -o fgconsole.o fgconsole.c cc -march=athlon64 -msse3 -pipe -O3 -floop-optimize2 -fno-ident -fomit-frame-pointer -c -o getfd.o getfd.c cc -march=athlon64 -msse3 -pipe -O3 -floop-optimize2 -fno-ident -fomit-frame-pointer -Wl,-O1,--as-needed,--hash-style=gnu,--sort-common,-z,relro fgconsole.o getfd.o -o fgconsole make[1]: Opuszczenie katalogu `/var/tmp/portage/media-gfx/splashutils-1.4.2/work/miscsplashutils-0.1.6/kbd' config.h successfully created. You can run `make` now. CC objs/solibsplash.o LD objs/libsplash.so CONF libjpeg MAKE libjpeg CONF freetype2 MAKE freetype2 CONF zlib MAKE zlib CONF libpng MAKE libpng CC objs/kernel/kernel.o CC objs/kernel/parse.o CC objs/kernel/render.o CC objs/kernel/image.o CC objs/kernel/cmd.o CC objs/kernel/common.o CC objs/kernel/list.o CC objs/kernel/effects.o CC objs/kernel/libsplash.o CC objs/kernel/ttf.o LD objs/splash_helper CC objs/splash.o CC objs/parse.o CC objs/render.o CC objs/image.o CC objs/cmd.o CC objs/common.o CC objs/daemon.o CC objs/daemon_cmd.o CC objs/list.o CC objs/effects.o CC objs/libsplash.o CC objs/ttf.o CC objs/mng_render.o CC objs/mng_callbacks.o LD objs/splash_util >>> Source compiled.
Here is the list of files built without respecting LDFLAGS: /lib/libsplash.so /lib/splash/bin/usleep /lib/splash/bin/fbres /sbin/fbtruetype /sbin/fbtruetype.static /sbin/splash_util But ignorances of CFLAGS are worse.
This problem should be fixed in 1.4.2.1.
(In reply to comment #2) > This problem should be fixed in 1.4.2.1. Prawie naprawione. CFLAGS wydają się być teraz respektowane. Liczba plików zbudowanych bez użycia LDFLAGS zmniejszyła się, ale nie do zera :) . ### List of files built with LDFLAGS ignored ### /lib/splash/bin/usleep /lib/splash/bin/fbres /sbin/splash_util ### End of list ###
OK, I think I finally fixed it with 1.4.3. Thanks for your help in tracking the files built without respecting {C,LD}FLAGS. Also, please only write comments in English -- they need to be readable by the whole community, not just the small fraction that comes from .pl :)
(In reply to comment #4) > OK, I think I finally fixed it with 1.4.3. I confirm it.