1 |
tomjbe 15/07/04 07:09:07 |
2 |
|
3 |
Added: gspiceui-1.1.0-flags.patch |
4 |
Log: |
5 |
Version bump |
6 |
|
7 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x24083D3E28343508) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: gspiceui-1.1.0-flags.patch |
16 |
=================================================================== |
17 |
--- src/Makefile.old 2015-07-03 18:06:15.000000000 +0200 |
18 |
+++ src/Makefile 2015-07-03 18:08:50.000000000 +0200 |
19 |
@@ -69,13 +69,7 @@ |
20 |
# -Ofast Optimize till it hurts : "-O3" + enable opts not valid for all standard-compliants |
21 |
# -Os Optimize for size |
22 |
# -Og Optimize debugging experience but don't break debugging |
23 |
-ifeq ($(GSPICEUI_DBG),0) |
24 |
- # Options for release (not using -Wall since it's GCC specific) |
25 |
- CXXFLAGS := -O1 -pipe $(shell $(WXCFG) --cxxflags) |
26 |
-else |
27 |
- # Options for development |
28 |
- CXXFLAGS := -g -Og -Wall -Wextra -pipe $(shell $(WXCFG) --cxxflags) |
29 |
-endif |
30 |
+ CXXFLAGS += $(shell $(WXCFG) --cxxflags) |
31 |
|
32 |
# The following suppresses spurious warnings from gcc with wxWidgets v2.8.12 |
33 |
ifeq ($(GSPICEUI_WXLIB),2.8) |
34 |
@@ -134,7 +128,7 @@ |
35 |
# -o specify the output file name |
36 |
|
37 |
$(BINDIR)/$(PROG) : $(OBJS) |
38 |
- $(CXX) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS) |
39 |
+ $(CXX) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LDFLAGS) $(LIBS) |
40 |
ifeq ($(ROOT)/GSpiceUI.app,$(wildcard $(ROOT)/GSpiceUI.app)) |
41 |
cp $(BINDIR)/$(PROG) $(ROOT)/GSpiceUI.app/Contents/MacOS/gspiceui |
42 |
endif |