On 10/23/10 3:39 AM, Alexandre Julliard wrote:
Marcus Meissner marcus@jet.franken.de writes:
Hi,
$EXTRACFLAGS is used before $CFLAGS, so the previous try would not work.
Also just -U the define.
Won't this break if the default is set through a header? Do all distros do this only through CFLAGS?
Nope. Mac OS sets it in <_types.h>:
#ifndef _FORTIFY_SOURCE # if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && ((__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__-0) < 1050) # define _FORTIFY_SOURCE 0 # else # define _FORTIFY_SOURCE 2 /* on by default */ # endif #endif
Chip