mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
rs6000: fixinc: Skip machine_name fix for powerpc*-*-linux*
Some system headers can be broken by the machine_name fix performed by GCC during the fixincludes step. According to the comment in fixincludes/fixinc.h:130 : On some platforms, machine_name doesn't work properly and breaks some of the header files. Since everything works properly without it, just wipe the macro list to disable the fix. So we can just skip it to avoid trouble. fixincludes/ * fixinc.in: Skip machine_name fix on powerpc*-*-linux*.
This commit is contained in:
parent
994e0ad415
commit
d876c8f9cf
@ -1,3 +1,7 @@
|
||||
2020-02-13 Matheus Castanho <msc@linux.ibm.com>
|
||||
|
||||
* fixinc.in: Skip machine_name fix on powerpc*-*-linux*.
|
||||
|
||||
2020-02-13 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
* mkheaders.in: Re-create subdirs, copy limits.h into subdir.
|
||||
|
@ -136,7 +136,7 @@ fi
|
||||
# disable the fix.
|
||||
|
||||
case "${target_canonical}" in
|
||||
*-*-vxworks*)
|
||||
*-*-vxworks* | powerpc*-*-linux*)
|
||||
test -f ${MACRO_LIST} && echo > ${MACRO_LIST}
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user