head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2025.12.20.20.40.05; author nia; state Exp; branches; next ; commitid 1m4FhjP0BVntMbnG; desc @@ 1.1 log @mp3check: Fix build with GCC 12 and newer. As a nice side effect, also honour the user's compilation settings. @ text @$NetBSD$ Honour environment variables from infrastructure. --- Makefile.orig 2012-06-04 22:33:07.000000000 +0000 +++ Makefile @@@@ -5,9 +5,8 @@@@ OPT = WARN = -Wall -W -g #OPT = -O2 OPT = -CPPFLAGS = $(ADDITIONAL_CPPFLAGS) -CXXFLAGS = $(WARN) $(OPT) -CXX = g++ +CPPFLAGS += $(ADDITIONAL_CPPFLAGS) +CXXFLAGS += $(WARN) $(OPT) CC = $(CXX) # --- default target @