LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File getmachine.diff of Package viewmol (Project home:msuman:bredas)

--- source/getmachine	2004-08-29 11:04:09.000000000 -0400
+++ source/getmachine	2011-04-11 12:49:27.000000000 -0400
@@ -273,7 +273,7 @@ case $os in
            then
 	     findProcessor
 	     echo 'COMPILER=gcc' >> makefile
-             echo "OPT=-O6 -mcpu=$processor -fomit-frame-pointer -ffast-math -malign-double" >> makefile
+             echo "OPT=-O6 -fomit-frame-pointer -ffast-math -malign-double" >> makefile
              echo 'CFLAGS=-Wall -I/usr/X11R6/include -DLINUX -Wno-strict-aliasing' >> makefile
              echo "LDFLAGS=$LINKFORSHARED" >> makefile
            else
@@ -295,7 +295,7 @@ case $os in
            cat ../.config.$os > makefile
 	   findProcessor
 	   echo 'COMPILER=cc' >> makefile
-           echo "OPT=-O6 -mcpu=$processor -fomit-frame-pointer -ffast-math -malign-double" >> makefile
+           echo "OPT=-O6 -fomit-frame-pointer -ffast-math -malign-double" >> makefile
            echo 'CFLAGS=-Wall -I/usr/X11R6/include -DFREEBSD' >> makefile
            echo "LDFLAGS=$LINKFORSHARED" >> makefile
            echo 'SCANDIR=' >> makefile
@@ -380,7 +380,7 @@ case $os in
             cat ../.config.$os > makefile
 	    findProcessor
 	    echo 'COMPILER=cc' >> makefile
-            echo "OPT=-mcpu=$processor -fomit-frame-pointer -ffast-math -malign-double" >> makefile
+            echo "OPT=-fomit-frame-pointer -ffast-math -malign-double" >> makefile
             echo 'CFLAGS=-DSYS_NMLN=20 -Wall -I/usr/X11R6/include -DLINUX' >> makefile
             echo "LDFLAGS=-L/usr/local/lib/w32api/ $LINKFORSHARED" >> makefile
             echo 'SCANDIR=' >> makefile