mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
5a4a7ccf23
Sound and music support is still very poor. PR: ports/73432 Submitted by: maintainer
25 lines
634 B
Plaintext
25 lines
634 B
Plaintext
--- utils/vlumpy/Makefile.orig
|
|
+++ utils/vlumpy/Makefile
|
|
@@ -6,17 +6,17 @@
|
|
LIBS=-lm -lstdc++
|
|
endif
|
|
|
|
-CFLAGS = -Wall -O3 -ffast-math -fomit-frame-pointer -march=pentiumpro
|
|
+CFLAGS += -Wall -O3 -ffast-math -fomit-frame-pointer
|
|
OBJS = cmdlib.o imglib.o scrlib.o wadlib.o vlumpy.o
|
|
|
|
all: ../bin/vlumpy$(EXE)
|
|
|
|
../bin/vlumpy$(EXE): $(OBJS)
|
|
- gcc -s -o $@ $(OBJS) $(LIBS)
|
|
+ ${CC} -s -o $@ $(OBJS) $(LIBS)
|
|
|
|
%.o: %.cpp ../common/*.h
|
|
- gcc $(CFLAGS) -I../common -c -o $@ $<
|
|
+ ${CC} $(CFLAGS) -I../common -c -o $@ $<
|
|
|
|
%.o: ../common/%.cpp ../common/*.h
|
|
- gcc $(CFLAGS) -c -o $@ $<
|
|
+ ${CC} $(CFLAGS) -c -o $@ $<
|
|
|