From 73174d63c309a9488cc26cf736d41109f1ce53a2 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 23 Apr 2011 06:07:22 +0000 Subject: [PATCH] Compile with the -pedantic flag set --- src/format/Makefile | 2 +- src/format/project.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/format/Makefile b/src/format/Makefile index 9e06c92..d5d8948 100644 --- a/src/format/Makefile +++ b/src/format/Makefile @@ -6,7 +6,7 @@ CC = cc CPPFLAGSF= -I ../../include CPPFLAGS= CFLAGSF = -W `pkg-config --cflags libSystem` -CFLAGS = -Wall -g -O2 -fPIC +CFLAGS = -Wall -g -O2 -fPIC -pedantic AR = ar -rc RANLIB = ranlib LD = $(CC) -shared diff --git a/src/format/project.conf b/src/format/project.conf index 07c9bbc..c44795c 100644 --- a/src/format/project.conf +++ b/src/format/project.conf @@ -1,7 +1,7 @@ targets=dex,elf,flat,java,pe cppflags_force=-I ../../include cflags_force=-W `pkg-config --cflags libSystem` -cflags=-Wall -g -O2 -fPIC +cflags=-Wall -g -O2 -fPIC -pedantic dist=Makefile [dex]