From b2a710ed6f61ca9f045623624c837a5a806a83e4 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 21 Apr 2011 00:49:34 +0000 Subject: [PATCH] The format plug-ins need libSystem to compile too --- src/format/Makefile | 4 ++-- src/format/project.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/format/Makefile b/src/format/Makefile index 5835cb2..9e06c92 100644 --- a/src/format/Makefile +++ b/src/format/Makefile @@ -5,8 +5,8 @@ LIBDIR = $(PREFIX)/lib CC = cc CPPFLAGSF= -I ../../include CPPFLAGS= -CFLAGSF = -W -Wall -fPIC -CFLAGS = -g +CFLAGSF = -W `pkg-config --cflags libSystem` +CFLAGS = -Wall -g -O2 -fPIC AR = ar -rc RANLIB = ranlib LD = $(CC) -shared diff --git a/src/format/project.conf b/src/format/project.conf index 8a571b6..07c9bbc 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 -Wall -fPIC -cflags=-g +cflags_force=-W `pkg-config --cflags libSystem` +cflags=-Wall -g -O2 -fPIC dist=Makefile [dex]