From: Clifford Wolf Date: Sat, 11 Oct 2014 09:35:54 +0000 (+0200) Subject: Strip win32 executeables X-Git-Tag: yosys-0.4~68 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a32e067e5c96bacc1f0280f9f1bfd979af2171db;p=yosys.git Strip win32 executeables --- diff --git a/Makefile b/Makefile index 6b77d854b..8a4ff52e8 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ else ifeq ($(CONFIG),mxe) CXX = /usr/local/src/mxe/usr/bin/i686-pc-mingw32-gcc CXXFLAGS += -std=gnu++0x -Os -D_POSIX_SOURCE CXXFLAGS := $(filter-out -fPIC,$(CXXFLAGS)) -LDFLAGS := $(filter-out -rdynamic,$(LDFLAGS)) +LDFLAGS := $(filter-out -rdynamic,$(LDFLAGS)) -s LDLIBS := $(filter-out -lrt,$(LDLIBS)) EXE = .exe