Jeremy Kerr | 459b0ea | 2015-05-04 15:49:08 +0800 | [diff] [blame^] | 1 | From 11bff93ad1ca613b1db9d96e9ea9c46b7d7bf48d Mon Sep 17 00:00:00 2001 |
| 2 | From: Jeremy Kerr <jk@ozlabs.org> |
| 3 | Date: Thu, 5 Mar 2015 22:44:40 +1100 |
| 4 | Subject: [PATCH] Makefile: specify abiv1 |
| 5 | |
| 6 | Signed-off-by: Jeremy Kerr <jk@ozlabs.org> |
| 7 | --- |
| 8 | Makefile.main | 3 ++- |
| 9 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/Makefile.main b/Makefile.main |
| 12 | index 3c67037..76f0bd3 100644 |
| 13 | --- a/Makefile.main |
| 14 | +++ b/Makefile.main |
| 15 | @@ -50,7 +50,8 @@ CPPFLAGS += -DBITS_PER_LONG=64 -DHAVE_BIG_ENDIAN |
| 16 | # causing all our printf's to warn |
| 17 | CPPFLAGS += -ffreestanding |
| 18 | |
| 19 | -CFLAGS := -fno-strict-aliasing -fstack-protector-all -pie -mbig-endian -m64 |
| 20 | +CFLAGS := -fno-strict-aliasing -fstack-protector-all -pie \ |
| 21 | + -mbig-endian -m64 -mabi=elfv1 |
| 22 | |
| 23 | ifeq ($(STACK_CHECK),1) |
| 24 | CFLAGS += -fstack-protector-all -pg |
| 25 | -- |
| 26 | 1.9.1 |
| 27 | |