[CRIU] [RFC 09/11] Make -march settings part of USERCFLAGS
Alexander Kartashov
alekskartashov at parallels.com
Fri Feb 7 09:21:11 PST 2014
On 02/07/2014 09:04 PM, Christopher Covington wrote:
> The current -march settings will cause an error if the user a
> conflicting flags such as -mcpu=cortex-a15. Use USERCFLAGS instead
> of CFLAGS so that a default is provided but can be overridden.
>
> Change-Id: I8ffecd6bfd7ad5794486a5d14d27bce3170898d3
> ---
> Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 556782a..4ffefc4 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -60,11 +60,11 @@ ifeq ($(shell echo $(ARCH) | sed -e 's/arm.*/arm/'),arm)
> DEFINES := -DCONFIG_ARMV$(ARMV)
>
> ifeq ($(ARMV),6)
> - CFLAGS += -march=armv6
> + USERCFLAGS += -march=armv6
> endif
>
> ifeq ($(ARMV),7)
> - CFLAGS += -march=armv7-a
> + USERCFLAGS += -march=armv7-a
> endif
> endif
>
Acked-by: Alexander Kartashov <alekskartashov at parallels.com>
--
Sincerely yours,
Alexander Kartashov
Intern
Core team
www.parallels.com
Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com
More information about the CRIU
mailing list