[openrtm-commit:00844] r2371 - branches/RELENG_1_1/OpenRTM-aist/packages/rpm

openrtm @ openrtm.org openrtm @ openrtm.org
2012年 6月 7日 (木) 18:57:42 JST


Author: n-ando
Date: 2012-06-07 18:57:42 +0900 (Thu, 07 Jun 2012)
New Revision: 2371

Modified:
   branches/RELENG_1_1/OpenRTM-aist/packages/rpm/OpenRTM-aist.spec.in
Log:
rpmbuild in i386 sets -march=i386 in CFLAGS/CXXFLAGS. -march causes undef. ref. of __atomic_fetch_add. To avoid this problem, default CFLAGS/CXXFLAGS setting is changed in spec file.

Modified: branches/RELENG_1_1/OpenRTM-aist/packages/rpm/OpenRTM-aist.spec.in
===================================================================
--- branches/RELENG_1_1/OpenRTM-aist/packages/rpm/OpenRTM-aist.spec.in	2012-06-07 03:00:16 UTC (rev 2370)
+++ branches/RELENG_1_1/OpenRTM-aist/packages/rpm/OpenRTM-aist.spec.in	2012-06-07 09:57:42 UTC (rev 2371)
@@ -78,7 +78,7 @@
 #------------------------------------------------------------
 # build section
 %build
-%configure --prefix=/usr
+%configure --prefix=/usr CFLAGS="-O2 -g" CXXFLAGS="-O2 -g"
 %{__make}
 
 #------------------------------------------------------------



More information about the openrtm-commit mailing list