From 03057f15c92310e57ba9b2c84b16d136ee98a8de Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 4 May 2008 01:56:40 +0000 Subject: [PATCH] Plug-ins need additional flags to have a chance to work --- src/target/Makefile | 4 ++++ src/target/project.conf | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/target/Makefile b/src/target/Makefile index 43c4b88..e6b7f94 100644 --- a/src/target/Makefile +++ b/src/target/Makefile @@ -2,6 +2,10 @@ TARGETS = amd64.a amd64.so graph.a graph.so sparc64.a sparc64.so PREFIX = /usr/local DESTDIR = LIBDIR = $(PREFIX)/lib +CC = cc +CPPFLAGS= +CFLAGSF = -W +CFLAGS = -Wall -g -O2 -fPIC AR = ar -rc RANLIB = ranlib LD = ld -shared diff --git a/src/target/project.conf b/src/target/project.conf index a87a585..c2b81d4 100644 --- a/src/target/project.conf +++ b/src/target/project.conf @@ -1,4 +1,6 @@ targets=amd64,graph,sparc64 +cflags_force=-W +cflags=-Wall -g -O2 -fPIC [amd64] type=library