Blob Blame History Raw
diff -up ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-ppc-64.make~ ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-ppc-64.make
--- ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-ppc-64.make~	2010-09-28 08:10:42.000000000 +0300
+++ ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-ppc-64.make	2011-04-07 00:41:58.146619611 +0300
@@ -23,7 +23,7 @@
 
 # This makefile is inprogess.  It builds, but the resulting libwrapper.so does not yet work.
 # If you know how to fix it then please help out.
-COMPILE = gcc -O3 -m64 -fPIC --pedantic
+COMPILE = gcc ${RPM_OPT_FLAGS} -fPIC --pedantic
 
 INCLUDE=$(JAVA_HOME)/include
 
diff -up ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-x86-32.make~ ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-x86-32.make
--- ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-x86-32.make~	2010-09-28 08:10:42.000000000 +0300
+++ ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-x86-32.make	2011-04-07 00:42:21.587599957 +0300
@@ -21,7 +21,7 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 # OTHER DEALINGS IN THE SOFTWARE.
 
-COMPILE = gcc -O3 -Wall --pedantic
+COMPILE = gcc ${RPM_OPT_FLAGS} -fPIC --pedantic
 
 INCLUDE=$(JAVA_HOME)/include
 
diff -up ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-x86-64.make~ ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-x86-64.make
--- ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-x86-64.make~	2010-09-28 08:10:42.000000000 +0300
+++ ivertex-java-service-wrapper-637f7cc19e33/src/c/Makefile-linux-x86-64.make	2011-04-07 00:41:41.715230771 +0300
@@ -23,7 +23,7 @@
 
 # This makefile is inprogess.  It builds, but the resulting libwrapper.so does not yet work.
 # If you know how to fix it then please help out.
-COMPILE = gcc -O3 -fPIC -Wall --pedantic
+COMPILE = gcc ${RPM_OPT_FLAGS} -fPIC --pedantic
 
 INCLUDE=$(JAVA_HOME)/include