Fixed static linking of ctrtool & added a few more gcc flags.

This commit is contained in:
profi200
2015-10-20 16:26:57 +02:00
parent d209909daf
commit 2444715bc2
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
OBJS = keyset.o main.o ctr.o ncsd.o cia.o tik.o tmd.o filepath.o lzss.o exheader.o exefs.o ncch.o utils.o settings.o firm.o cwav.o stream.o romfs.o ivfc.o
POLAR_OBJS = polarssl/aes.o polarssl/bignum.o polarssl/rsa.o polarssl/sha2.o
TINYXML_OBJS = tinyxml/tinystr.o tinyxml/tinyxml.o tinyxml/tinyxmlerror.o tinyxml/tinyxmlparser.o
LIBS = -static-libstdc++
LIBS = -static-libgcc -static-libstdc++
CXXFLAGS = -I.
CFLAGS = -Wall -Wno-unused-variable -Wno-unused-but-set-variable -I.
CFLAGS = -Wall -O2 -flto -static -Wno-unused-variable -Wno-unused-but-set-variable -I.
OUTPUT = ctrtool
CC = gcc