OSDN Git Service

7zArc以外で例外処理とRTTIを無効にして軽量化。
authorsirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Sat, 11 Dec 2010 03:24:38 +0000 (03:24 +0000)
committersirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Sat, 11 Dec 2010 03:24:38 +0000 (03:24 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/tpi/tpi@457 9df91469-1e22-0410-86e7-ea8537beb833

src/common/Makefile.default
src/plugin/7zArc/Makefile
src/plugin/Makefile.default

index c5b2fae..0fe6e8b 100644 (file)
@@ -3,7 +3,7 @@
 
 # Define compilers.
 CC = g++
-CPPFLAGS = -c -O3 -Wall -Wextra `wx-config --cxxflags`
+CPPFLAGS = -c -O3 -Wall -Wextra -fno-exceptions -fno-rtti `wx-config --cxxflags`
 LDFLAGS  = -s
 
 .PHONY: all clean
index f9bc917..e5429af 100644 (file)
@@ -2,7 +2,7 @@
 # $Id$\r
 PLUGIN_NAME = 7zArc\r
 7ZBASE      = 7-zip_linux\r
-CPPFLAGS_ADD= -I$(7ZBASE)/CPP -I$(7ZBASE)/CPP/myWindows -I$(7ZBASE)/CPP/include_windows -I$(7ZBASE)/CPP/7zip/UI/Client7z -DUSE_WIN_FILE\r
+CPPFLAGS_ADD= -fexceptions -frtti -I$(7ZBASE)/CPP -I$(7ZBASE)/CPP/myWindows -I$(7ZBASE)/CPP/include_windows -I$(7ZBASE)/CPP/7zip/UI/Client7z -DUSE_WIN_FILE\r
 7ZDIR       = ../../plugin/7zArc/$(7ZBASE)/CPP\r
 OBJS_ADD    = $(7ZDIR)/7zip/Common/FileStreams.o $(7ZDIR)/Common/MyString.o $(7ZDIR)/Common/MyVector.o $(7ZDIR)/Common/MyWindows.o $(7ZDIR)/Common/StringConvert.o $(7ZDIR)/myWindows/wine_date_and_time.o $(7ZDIR)/Windows/FileFind.o $(7ZDIR)/Windows/FileIO.o $(7ZDIR)/Windows/PropVariant.o $(7ZDIR)/Windows/Time.o\r
 include ../Makefile.default\r
index 4cd178b..40f9a12 100644 (file)
@@ -3,7 +3,7 @@
 \r
 # Define compilers.\r
 CC = g++\r
-CPPFLAGS = -c -O3 -Wall -Wextra -fPIC `wx-config --cxxflags` $(CPPFLAGS_ADD)\r
+CPPFLAGS = -c -O3 -Wall -Wextra -fno-exceptions -fno-rtti -fPIC `wx-config --cxxflags` $(CPPFLAGS_ADD)\r
 LDFLAGS  = -s -shared -Wl,-Bsymbolic\r
 \r
 # Define i/o files.\r