tomjbe      15/07/04 07:09:07

  Added:                gspiceui-1.1.0-flags.patch
  Log:
  Version bump
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x24083D3E28343508)

Revision  Changes    Path
1.1                  sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/files/gspiceui-1.1.0-flags.patch?rev=1.1&view=markup
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

Index: gspiceui-1.1.0-flags.patch
===================================================================
--- src/Makefile.old    2015-07-03 18:06:15.000000000 +0200
+++ src/Makefile        2015-07-03 18:08:50.000000000 +0200
@@ -69,13 +69,7 @@
 #  -Ofast     Optimize till it hurts : "-O3" + enable opts not valid for all 
standard-compliants
 #  -Os        Optimize for size
 #  -Og        Optimize debugging experience but don't break debugging
-ifeq ($(GSPICEUI_DBG),0)
-  # Options for release (not using -Wall since it's GCC specific)
-  CXXFLAGS := -O1 -pipe $(shell $(WXCFG) --cxxflags)
-else
-  # Options for development
-  CXXFLAGS := -g -Og -Wall -Wextra -pipe $(shell $(WXCFG) --cxxflags)
-endif
+  CXXFLAGS += $(shell $(WXCFG) --cxxflags)
 
 # The following suppresses spurious warnings from gcc with wxWidgets v2.8.12
 ifeq ($(GSPICEUI_WXLIB),2.8)
@@ -134,7 +128,7 @@
 #   -o     specify the output file name
 
 $(BINDIR)/$(PROG) : $(OBJS)
-       $(CXX) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS)
+       $(CXX) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LDFLAGS) $(LIBS)
 ifeq ($(ROOT)/GSpiceUI.app,$(wildcard $(ROOT)/GSpiceUI.app))
        cp $(BINDIR)/$(PROG) $(ROOT)/GSpiceUI.app/Contents/MacOS/gspiceui
 endif




Reply via email to