From 758cf4d9a0807f8a06839275a5ed64603966b65f Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Wed, 10 Aug 2016 01:39:15 +0200 Subject: [PATCH] Add detected target arch to builtin info. --- src/dindexerConfig.h.in | 1 + src/main/builtin_feats.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/dindexerConfig.h.in b/src/dindexerConfig.h.in index 61716d8..67b6a91 100644 --- a/src/dindexerConfig.h.in +++ b/src/dindexerConfig.h.in @@ -51,5 +51,6 @@ #endif #define COPYRIGHT_YEARS_LIST @DINDEXER_COPYRIGHT_YEARS@ +#define PLATFORM_ARCH "@DINDEXER_ARCH@" #endif diff --git a/src/main/builtin_feats.c b/src/main/builtin_feats.c index 9c6e851..e65d9c3 100644 --- a/src/main/builtin_feats.c +++ b/src/main/builtin_feats.c @@ -52,6 +52,7 @@ void print_builtin_feats() { #else printf("WITH_NICE_MEDIA_TYPES = no\n"); #endif + printf("PLATFORM_ARCH = \"%s\"\n", PLATFORM_ARCH); } void print_version() {