mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
[ctrtool/makerom] Silenced warnings, fixed compiling on systems with libiconv installed.
This commit is contained in:
+1
-1
@@ -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,5 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
#ifndef _WIN32
|
||||
#define LIBICONV_PLUG
|
||||
#include <iconv.h>
|
||||
#endif
|
||||
#include "oschar.h"
|
||||
|
||||
Reference in New Issue
Block a user