summaryrefslogtreecommitdiffstats
path: root/devel/astyle/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/astyle/files/patch-aa')
-rw-r--r--devel/astyle/files/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/astyle/files/patch-aa b/devel/astyle/files/patch-aa
new file mode 100644
index 0000000..6b6316e
--- /dev/null
+++ b/devel/astyle/files/patch-aa
@@ -0,0 +1,19 @@
+--- Makefile.orig Sun Jan 3 11:43:25 1999
++++ Makefile Sun Jan 31 22:34:12 1999
+@@ -1,13 +1,13 @@
+ # "Artistic Style" Makefile
+
+-CPPFLAGS = -O2 -W
++CPPFLAGS ?= -O2 -W
+ OBJS = ASResource.o ASBeautifier.o ASFormatter.o astyle_main.o
+
+ astyle: $(OBJS)
+- g++ $(CPPFLAGS) -o astyle $(OBJS)
++ eg++ $(CPPFLAGS) -o astyle $(OBJS)
+
+ .cpp.o:
+- g++ $(CPPFLAGS) -c $<
++ eg++ $(CPPFLAGS) -c $<
+ .SUFFIXES: .cpp .c .o
+
+ clean:
OpenPOWER on IntegriCloud