hi, I have installed moblin-rpm-config in my moblin2-sdk. When I build yum-metadata-parser.spec ( as an example ), I found the CFLGS ( in below messages) does not show "-march=core2 -msse3 -mtune=generic -mfpmath=sse" flags. However, in the build messages , I do find gcc with above flags. I cannot find any config for configuring above optomization flags.
In additional, my platform is Q1 Ultra ( Intel A110 ( Stealey ) ), What is the recommended compiler opts for my platform. ( Below shows the build messages ) + umask 022 + cd /usr/src/redhat/BUILD + cd yum-metadata-parser-1.1.2 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -fasynchronous-unwind-tables' + export CFLAGS + /usr/bin/python setup.py build running build running build_py creating build creating build/lib.linux-i686-2.6 copying sqlitecachec.py -> build/lib.linux-i686-2.6 running build_ext building '_sqlitecache' extension creating build/temp.linux-i686-2.6 gcc -pthread -DNDEBUG -Os -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -fasynchronous-unwind-tables -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.6 -c package.c -o build/temp.linux-i686-2.6/package.o gcc -pthread -DNDEBUG -Os -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -fasynchronous-unwind-tables -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.6 -c xml-parser.c -o build/temp.linux-i686-2.6/xml-parser.o gcc -pthread -DNDEBUG -Os -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -fasynchronous-unwind-tables -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.6 -c db.c -o build/temp.linux-i686-2.6/db.o gcc -pthread -DNDEBUG -Os -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -fasynchronous-unwind-tables -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/python2.6 -c sqlitecache.c -o build/temp.linux-i686-2.6/sqlitecache.o gcc -pthread -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -fasynchronous-unwind-tables build/temp.linux-i686-2.6/package.o build/temp.linux-i686-2.6/xml-parser.o build/temp.linux-i686-2.6/db.o build/temp.linux-i686-2.6/sqlitecache.o -L/usr/lib -lglib-2.0 -lxml2 -lsqlite3 -lpython2.6 -o build/lib.linux-i686-2.6/_sqlitecache.so Regards, Axel _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
