From 4b92255cec7844ee05ea296f7e91c09238cef108 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 2 Aug 2002 19:12:01 +0000 Subject: [PATCH] Don't pass the perl C flags to winebuild. --- Make.rules.in | 2 +- programs/winetest/Makefile.in | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Make.rules.in b/Make.rules.in index 509334ae4c2..ccd958575b2 100644 --- a/Make.rules.in +++ b/Make.rules.in @@ -28,7 +28,7 @@ SHELL = /bin/sh CC = @CC@ CPP = @CPP@ -CFLAGS = @CFLAGS@ +CFLAGS = @CFLAGS@ $(EXTRACFLAGS) OPTIONS = @OPTIONS@ -D_REENTRANT X_CFLAGS = @X_CFLAGS@ X_LIBS = @X_LIBS@ diff --git a/programs/winetest/Makefile.in b/programs/winetest/Makefile.in index b5c6786dafa..9abfcdc994c 100644 --- a/programs/winetest/Makefile.in +++ b/programs/winetest/Makefile.in @@ -1,7 +1,3 @@ -EXTRADEFS = `perl -MExtUtils::Embed -e ccflags` -EXTRALIBS = `perl -MExtUtils::Embed -e ldopts` -EXTRAINCL = `perl -MExtUtils::Embed -e perl_inc` -XSUBPPDIR = `perl -MConfig -e 'print $$Config::Config{privlibexp}'`/ExtUtils TOPSRCDIR = @top_srcdir@ TOPOBJDIR = ../.. SRCDIR = @srcdir@ @@ -10,6 +6,11 @@ MODULE = winetest.exe APPMODE = cui IMPORTS = kernel32 +EXTRACFLAGS = `perl -MExtUtils::Embed -e ccflags` +EXTRALIBS = `perl -MExtUtils::Embed -e ldopts` +EXTRAINCL = `perl -MExtUtils::Embed -e perl_inc` +XSUBPPDIR = `perl -MConfig -e 'print $$Config::Config{privlibexp}'`/ExtUtils + C_SRCS = winetest.c EXTRA_SRCS = wtmain.c