gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if -fPIC or -fpic is specified.

X
        * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
        -fPIC or -fpic is specified.

From-SVN: r27868
This commit is contained in:
Mark Kettenis 1999-06-30 18:51:56 -06:00 committed by Jeff Law
parent a071bd3542
commit 5e13e04f6a

View File

@ -14,7 +14,9 @@
-Dunix -Asystem(unix) -Asystem(posix) -D__GNU__ -Asystem(gnu)"
#undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
#define CPP_SPEC "%(cpp_cpu) \
%{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \
%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
#undef CC1_SPEC
#define CC1_SPEC "%(cc1_cpu)"