mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Fix for non deleted files
This commit is contained in:
@@ -1,58 +0,0 @@
|
||||
diff --git a/config/picflag.m4 b/config/picflag.m4
|
||||
--- a/config/picflag.m4
|
||||
+++ b/config/picflag.m4
|
||||
@@ -34,7 +22,7 @@
|
||||
i[[34567]]86-*-nto-qnx*)
|
||||
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
||||
# it will coredump.
|
||||
- $1='-fPIC -shared'
|
||||
+ $1='-fno-PIC'
|
||||
;;
|
||||
i[[34567]]86-pc-msdosdjgpp*)
|
||||
# DJGPP does not support shared libraries at all.
|
||||
@@ -42,7 +30,7 @@
|
||||
ia64*-*-hpux*)
|
||||
# On IA64 HP-UX, PIC is the default but the pic flag
|
||||
# sets the default TLS model and affects inlining.
|
||||
- $1=-fPIC
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
mips-sgi-irix6*)
|
||||
# PIC is the default.
|
||||
@@ -54,30 +42,30 @@
|
||||
# Some targets support both -fPIC and -fpic, but prefer the latter.
|
||||
# FIXME: Why?
|
||||
i[[34567]]86-*-* | x86_64-*-*)
|
||||
- $1=-fpic
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
# FIXME: Override -fPIC default in libgcc only?
|
||||
sh-*-linux* | sh[[2346lbe]]*-*-linux*)
|
||||
- $1=-fpic
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
# FIXME: Simplify to sh*-*-netbsd*?
|
||||
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
|
||||
sh64-*-netbsd* | sh64l*-*-netbsd*)
|
||||
- $1=-fpic
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
# Default to -fPIC unless specified otherwise.
|
||||
*)
|
||||
- $1=-fPIC
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
esac
|
||||
|
||||
# If the user explicitly uses -fpic/-fPIC, keep that.
|
||||
case "${m4_bpatsubsts($1, PICFLAG, CFLAGS)}" in
|
||||
*-fpic*)
|
||||
- $1=-fpic
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
*-fPIC*)
|
||||
- $1=-fPIC
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
esac
|
||||
])
|
||||
@@ -1,10 +0,0 @@
|
||||
--- a/gcc/config/mips/mips.c
|
||||
+++ b/gcc/config/mips/mips.c
|
||||
@@ -20007,7 +20007,7 @@
|
||||
/* The effect of -mabicalls isn't defined for the EABI. */
|
||||
if (mips_abi == ABI_EABI && TARGET_ABICALLS)
|
||||
{
|
||||
- error ("unsupported combination: %s", "-mabicalls -mabi=eabi");
|
||||
+ /* error ("unsupported combination: %s", "-mabicalls -mabi=eabi");*/
|
||||
target_flags &= ~MASK_ABICALLS;
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/libgcc/Makefile.in
|
||||
+++ n/libgcc/Makefile.in
|
||||
@@ -253,7 +253,7 @@
|
||||
# Additional target-dependent options for compiling libgcc2.a.
|
||||
HOST_LIBGCC2_CFLAGS =
|
||||
|
||||
-PICFLAG = @PICFLAG@
|
||||
+PICFLAG =
|
||||
|
||||
CET_FLAGS = @CET_FLAGS@
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
--- a/libgcc/config/t-libgcc-pic
|
||||
+++ b/libgcc/config/t-libgcc-pic
|
||||
@@ -1,2 +1,2 @@
|
||||
# Compile libgcc2.a with pic.
|
||||
-HOST_LIBGCC2_CFLAGS += $(PICFLAG)
|
||||
+HOST_LIBGCC2_CFLAGS +=
|
||||
@@ -1,58 +0,0 @@
|
||||
diff --git a/config/picflag.m4 b/config/picflag.m4
|
||||
--- a/config/picflag.m4
|
||||
+++ b/config/picflag.m4
|
||||
@@ -34,7 +22,7 @@
|
||||
i[[34567]]86-*-nto-qnx*)
|
||||
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
||||
# it will coredump.
|
||||
- $1='-fPIC -shared'
|
||||
+ $1='-fno-PIC'
|
||||
;;
|
||||
i[[34567]]86-pc-msdosdjgpp*)
|
||||
# DJGPP does not support shared libraries at all.
|
||||
@@ -42,7 +30,7 @@
|
||||
ia64*-*-hpux*)
|
||||
# On IA64 HP-UX, PIC is the default but the pic flag
|
||||
# sets the default TLS model and affects inlining.
|
||||
- $1=-fPIC
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
mips-sgi-irix6*)
|
||||
# PIC is the default.
|
||||
@@ -54,30 +42,30 @@
|
||||
# Some targets support both -fPIC and -fpic, but prefer the latter.
|
||||
# FIXME: Why?
|
||||
i[[34567]]86-*-* | x86_64-*-*)
|
||||
- $1=-fpic
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
# FIXME: Override -fPIC default in libgcc only?
|
||||
sh-*-linux* | sh[[2346lbe]]*-*-linux*)
|
||||
- $1=-fpic
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
# FIXME: Simplify to sh*-*-netbsd*?
|
||||
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
|
||||
sh64-*-netbsd* | sh64l*-*-netbsd*)
|
||||
- $1=-fpic
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
# Default to -fPIC unless specified otherwise.
|
||||
*)
|
||||
- $1=-fPIC
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
esac
|
||||
|
||||
# If the user explicitly uses -fpic/-fPIC, keep that.
|
||||
case "${m4_bpatsubsts($1, PICFLAG, CFLAGS)}" in
|
||||
*-fpic*)
|
||||
- $1=-fpic
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
*-fPIC*)
|
||||
- $1=-fPIC
|
||||
+ $1=-fno-PIC
|
||||
;;
|
||||
esac
|
||||
])
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/libgcc/Makefile.in
|
||||
+++ n/libgcc/Makefile.in
|
||||
@@ -253,7 +253,7 @@
|
||||
# Additional target-dependent options for compiling libgcc2.a.
|
||||
HOST_LIBGCC2_CFLAGS =
|
||||
|
||||
-PICFLAG = @PICFLAG@
|
||||
+PICFLAG =
|
||||
|
||||
CET_FLAGS = @CET_FLAGS@
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
--- a/libgcc/config/t-libgcc-pic
|
||||
+++ b/libgcc/config/t-libgcc-pic
|
||||
@@ -1,2 +1,2 @@
|
||||
# Compile libgcc2.a with pic.
|
||||
-HOST_LIBGCC2_CFLAGS += $(PICFLAG)
|
||||
+HOST_LIBGCC2_CFLAGS +=
|
||||
Reference in New Issue
Block a user