mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
Fixed more warnings.
This commit is contained in:
+1
-3
@@ -3,7 +3,7 @@ SRC_DIR = . polarssl libyaml
|
||||
OBJS = $(foreach dir,$(SRC_DIR),$(subst .c,.o,$(wildcard $(dir)/*.c)))
|
||||
|
||||
# Compiler Settings
|
||||
CFLAGS = --std=c99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I.
|
||||
CFLAGS = --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I.
|
||||
CC = gcc
|
||||
ifeq ($(OS),Windows_NT)
|
||||
#Windows Build CFG
|
||||
@@ -13,12 +13,10 @@ else
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
# OS X
|
||||
CFLAGS +=
|
||||
LIBS += -liconv
|
||||
else
|
||||
# Linux
|
||||
CFLAGS += -Wno-unused-but-set-variable
|
||||
LIBS +=
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user