From: | "Thomas Beierlein (tomjbe)" <tomjbe@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-electronics/gspiceui/files: gspiceui-1.0.0-flags.patch |
Date: | Sat, 11 Feb 2012 13:50:33 |
Message-Id: | 20120211135023.63F752004C@flycatcher.gentoo.org |
1 | tomjbe 12/02/11 13:50:23 |
2 | |
3 | Added: gspiceui-1.0.0-flags.patch |
4 | Log: |
5 | Version bump |
6 | |
7 | (Portage version: 2.1.10.45/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-electronics/gspiceui/files/gspiceui-1.0.0-flags.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/files/gspiceui-1.0.0-flags.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/files/gspiceui-1.0.0-flags.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: gspiceui-1.0.0-flags.patch |
16 | =================================================================== |
17 | # drop -Ofast option understood only from gcc-4.6 on |
18 | # and make it respect LDFLAGS and CXXFLAGS |
19 | --- src/Makefile.old 2012-02-11 13:29:27.000000000 +0100 |
20 | +++ src/Makefile 2012-02-11 13:31:13.000000000 +0100 |
21 | @@ -59,13 +59,7 @@ |
22 | INSTALLDIR = /usr/local/bin |
23 | |
24 | # Compiler options |
25 | -ifeq ($(GSPICEUI_DBG),0) |
26 | - # Options for release (not using -Wall since it's GCC specific) |
27 | - CXXFLAGS := -Ofast -pipe $(shell $(WXCFG) --cxxflags) |
28 | -else |
29 | - # Options for development |
30 | - CXXFLAGS := -Wall -g -pipe $(shell $(WXCFG) --cxxflags) |
31 | -endif |
32 | + CXXFLAGS += $(shell $(WXCFG) --cxxflags) |
33 | |
34 | # Includes |
35 | INCLUDES = -I/usr/include -I/usr/X11R6/include -I. |
36 | @@ -106,7 +100,7 @@ |
37 | # -o specify the output file name |
38 | |
39 | $(BINDIR)/$(PROG) : $(OBJS) |
40 | - $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS) |
41 | + $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LDFLAGS) $(LIBS) |
42 | ifeq ($(ROOT)/GSpiceUI.app,$(wildcard $(ROOT)/GSpiceUI.app)) |
43 | cp $(BINDIR)/$(PROG) $(ROOT)/GSpiceUI.app/Contents/MacOS/gspiceui |
44 | endif |