freebsd-ports/audio/vgmplay/files/patch-Makefile
Hiroki Tagato b723eea68a MFH: r560739
- Fix build with -fno-common (clang 11 and gcc 10)
- Use MANPREFIX/share/man for manpage path
- Remove over-optimization
- Bump port revision for package change

Reviewed by:	ehaupt
2021-01-07 21:55:09 +00:00

22 lines
345 B
Plaintext

--- Makefile.orig 2021-01-07 10:55:33 UTC
+++ Makefile
@@ -58,7 +58,9 @@ endif
+ifndef CC
CC = gcc
+endif
ifndef PREFIX
PREFIX = /usr/local
#PREFIX = $(HOME)/.local
@@ -101,7 +103,7 @@ endif
# -- General Compile Flags --
ifeq ($(DEBUG), 0)
-CFLAGS := -O3 -g0 $(CFLAGS)
+CFLAGS := -g0 $(CFLAGS)
else
CFLAGS := -g $(CFLAGS)
endif