aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-gcc/files/patch-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avr-gcc/files/patch-plugins')
-rw-r--r--devel/avr-gcc/files/patch-plugins18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/avr-gcc/files/patch-plugins b/devel/avr-gcc/files/patch-plugins
new file mode 100644
index 000000000000..2538d73132c9
--- /dev/null
+++ b/devel/avr-gcc/files/patch-plugins
@@ -0,0 +1,18 @@
+--- gcc/configure.orig
++++ gcc/configure
+@@ -25460,13 +25460,13 @@
+ $as_echo_n "checking for exported symbols... " >&6; }
+ echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c
+ ${CC} ${CFLAGS} ${LDFLAGS} conftest.c -o conftest > /dev/null 2>&1
+- if $gcc_cv_objdump -T conftest | grep foobar > /dev/null; then
++ if $ac_cv_prog_OBJDUMP -T conftest | grep foobar > /dev/null; then
+ : # No need to use a flag
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5
+ $as_echo_n "checking for -rdynamic... " >&6; }
+ ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c -o conftest > /dev/null 2>&1
+- if $gcc_cv_objdump -T conftest | grep foobar > /dev/null; then
++ if $ac_cv_prog_OBJDUMP -T conftest | grep foobar > /dev/null; then
+ plugin_rdynamic=yes
+ pluginlibs="-rdynamic"
+ else