From 70ddda0f41b3b13a5a3b5179447712f7af8fb574 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 30 Dec 2018 21:38:23 +0100 Subject: Move -D__ASSEMBLY__ to general AM_CCASFLAGS Since it is used not only by linux bits. * linux/Makefrag.am (liblinux_a_CCASFLAGS): Remove -D__ASSEMBLY__ * Makefile.am (AM_CCASFLAGS): Add -D__ASSEMBLY__ --- Makefile.am | 3 +++ linux/Makefrag.am | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 349e0d5c..11312a1e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,6 +54,9 @@ AM_CPPFLAGS += \ AM_CFLAGS += \ -fno-builtin-log +AM_CCASFLAGS += \ + -D__ASSEMBLY__ + # Yes, this makes the eyes hurt. But perhaps someone will finally take care of # all that scruffy Mach code... Also see . AM_CFLAGS += \ diff --git a/linux/Makefrag.am b/linux/Makefrag.am index 1b690108..38718a3f 100644 --- a/linux/Makefrag.am +++ b/linux/Makefrag.am @@ -43,7 +43,7 @@ liblinux_a_CFLAGS += \ # TODO. Do we really need `-traditional'? liblinux_a_CCASFLAGS = $(AM_CCASFLAGS) \ - -D__ASSEMBLY__ -traditional \ + -traditional \ $(liblinux_a_CPPFLAGS) liblinux_a_SOURCES = \ -- cgit v1.2.3