Patch the freebsd spec file for PowerPC so that PIC code builds correctly.
This allows FreeBSD/PPC to build and run out of stock CVS sources. This also takes the file off of the vendor branch. Submitted by: kan, grehan Approved by: re, kan
This commit is contained in:
parent
a3b324f003
commit
98e104cbc9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147823
@ -24,6 +24,12 @@
|
||||
#undef CPP_OS_DEFAULT_SPEC
|
||||
#define CPP_OS_DEFAULT_SPEC "%(cpp_os_freebsd)"
|
||||
|
||||
#undef CPP_OS_FREEBSD_SPEC
|
||||
#define CPP_OS_FREEBSD_SPEC "\
|
||||
-D__PPC__ -D__ppc__ -D__PowerPC__ -D__powerpc__ \
|
||||
-Acpu=powerpc -Amachine=powerpc \
|
||||
%{fPIC|fpic|fPIE|fpie:-D__PIC__ -D__pic__} "
|
||||
|
||||
#undef STARTFILE_DEFAULT_SPEC
|
||||
#define STARTFILE_DEFAULT_SPEC "%(startfile_freebsd)"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user