aboutsummaryrefslogtreecommitdiff
path: root/m4/ax_prog_doxygen.m4
diff options
context:
space:
mode:
authorMike Holmes <mike.holmes@linaro.org>2016-05-09 07:59:58 -0400
committerMike Holmes <mike.holmes@linaro.org>2016-05-10 05:57:08 -0400
commitac9f523f4d4d1f1c2108dbde3be77dbb7595447c (patch)
tree733e2d4796893f6f50ff4423f3c9f4abf38cb433 /m4/ax_prog_doxygen.m4
parentf0ffb68eff2b2ec858b80e809e1766e2081e541a (diff)
linux-generic: correctly set arch as undefined
arch is defined as an architecture flag so that optimisations or necessary differences can be accommodated. When we are unable to determine the architecture it is incorrect to assign it the value of an operating system. Instead lets label it correctly as a default and add an error to the user when an unknown arch is encountered. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Diffstat (limited to 'm4/ax_prog_doxygen.m4')
-rw-r--r--m4/ax_prog_doxygen.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_prog_doxygen.m4 b/m4/ax_prog_doxygen.m4
index 67acd22eb..d2017bd3e 100644
--- a/m4/ax_prog_doxygen.m4
+++ b/m4/ax_prog_doxygen.m4
@@ -272,7 +272,7 @@ DX_ENV_APPEND(VERSION, $VERSION)
DX_ENV_APPEND(WITH_PLATFORM, $with_platform)
DX_ENV_APPEND(PROJECT, $DX_PROJECT)
DX_ENV_APPEND(VERSION, $PACKAGE_VERSION)
-DX_ENV_APPEND(WITH_ARCH, $ARCH)
+DX_ENV_APPEND(WITH_ARCH, $ARCH_DIR)
# Doxygen itself:
DX_ARG_ABLE(doc, [generate any doxygen documentation],