# 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
# $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
\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