# Define compilers.
CC = clang++
CPPFLAGS = -c -O3 -Wall -Wextra -fno-exceptions -fno-rtti -fPIC `wx-config --cxxflags` -std=c++11
-LDFLAGS = -s -O4
+LDFLAGS = -s -flto
# Check the architecture.
ARCH = $(shell uname -m)
# Define compilers.\r
CC = clang++\r
CPPFLAGS = -c -O3 -Wall -Wextra -fno-exceptions -fno-rtti -fPIC `wx-config --cxxflags` $(CPPFLAGS_ADD)\r
-LDFLAGS = -s -O4 -shared -Wl,-Bsymbolic\r
+LDFLAGS = -s -flto -shared -Wl,-Bsymbolic\r
\r
# Define i/o files.\r
ARCH = $(shell uname -m)\r