freebsd-ports/devel/astyle/files/patch-build_gcc_Makefile
Mark Linimon 6d919e81a8 Fix CXX assignment and add new includes to fix build on GCC-based
architectures.

PR:		232734
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
2019-01-02 09:09:50 +00:00

11 lines
412 B
Text

--- ../../build/gcc/Makefile.orig 2018-01-11 17:18:18 UTC
+++ ../../build/gcc/Makefile
@@ -37,7 +37,7 @@ objdir = obj
ipath=$(prefix)/bin
CBASEFLAGS = -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11
JAVAINCS = -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
-CXX = g++
+CXX = %%CXX%%
INSTALL=install -o $(USER) -g $(USER)
# Library's major version number -- Increment in case of incompatible API