[ctrtool/makerom] Silenced warnings, fixed compiling on systems with libiconv installed.

This commit is contained in:
jakcron
2015-11-26 19:53:19 +08:00
parent 2f81642a69
commit b17804b685
4 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ OBJS = $(foreach dir,$(SRC_DIR),$(subst .c,.o,$(wildcard $(dir)/*.c))) $(foreach
# Compiler Settings
LIBS = -static-libgcc -static-libstdc++
CXXFLAGS = -I.
CFLAGS = -O2 -flto -Wall -Wno-unused-variable -Wno-unused-but-set-variable -I.
CFLAGS = -O2 -flto -Wall -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-result -I.
OUTPUT = ctrtool
CC = gcc
CXX = g++
+1
View File
@@ -1,5 +1,6 @@
#include <stdlib.h>
#ifndef _WIN32
#define LIBICONV_PLUG
#include <iconv.h>
#endif
#include "oschar.h"