Blob Blame History Raw
diff -uNr -x '*~' mathomatic-14.1.4.orig/makefile mathomatic-14.1.4/makefile
--- mathomatic-14.1.4.orig/makefile	2008-08-09 02:35:29.000000000 +0200
+++ mathomatic-14.1.4/makefile	2008-08-22 20:46:07.000000000 +0200
@@ -2,7 +2,8 @@
 # Currently uses gcc only options in CFLAGS, just remove them for other C compilers.
 
 VERSION		= `cat VERSION`
-CFLAGS		+= -O2 -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses # gcc specific flags
+OPTFLAGS	?= -O2
+CFLAGS		+= $(OPTFLAGS) -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses # gcc specific flags
 CFLAGS		+= -DUNIX -DVERSION=\"$(VERSION)\" # C compiler flags
 LIBS		+= -lm # libraries to link
 
@@ -81,7 +82,7 @@
 	install -d $(docdir)/mathomatic/factorial
 	install -d $(prefix)/share/applications
 	install -d $(prefix)/share/pixmaps
-	install -m 0755 -s $(AOUT) $(bindir)
+	install -m 0755 $(AOUT) $(bindir)
 	install -m 0644 $(MAN1) $(mandir)/man1
 	install -m 0644 $(DOCS) $(docdir)/mathomatic
 	install -m 0644 doc/* $(docdir)/mathomatic/html