Don't hardcode CXX to g++, CXXFLAGS to -O3 and a bunch of -f optimizations

This port is still broken, but no worse than before
This commit is contained in:
Kris Kennaway 2001-04-30 10:33:54 +00:00
parent b7bae3d105
commit c9235a7b47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42077

View File

@ -0,0 +1,18 @@
--- Makefile.in.orig Mon Apr 30 03:30:32 2001
+++ Makefile.in Mon Apr 30 03:30:56 2001
@@ -7,12 +7,10 @@
####### Compiler, tools and options
-CC = gcc
-CXX = g++
-CFLAGS = -pipe -Wall -O3 -ffast-math -DNO_DEBUG -Wno-unused -g
-CXXFLAGS= -pipe -Wall -O3 -ffast-math -DNO_DEBUG -Wno-unused -g
+CFLAGS += -Wall -DNO_DEBUG -Wno-unused -g
+CXXFLAGS+= -Wall -DNO_DEBUG -Wno-unused -g
INCPATH = -I/usr/X11R6/include
-LINK = g++
+LINK = ${CXX}
LFLAGS =
LIBS = -L/usr/X11R6/lib -lfltk -lGL -lXext -lX11 -lm
MOC = moc