summaryrefslogtreecommitdiff
path: root/version.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-07-13 14:23:48 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2016-07-13 14:23:48 -0700
commitf7606613d047ff37ead008263284e2bc1ae9ce93 (patch)
treefb5d3a23d0304427c93bcaca699b42e2b0d7ab95 /version.pl
parent3d74b091e966842e70b34bd5e6e34448f81bc37a (diff)
downloadnasm-f7606613d047ff37ead008263284e2bc1ae9ce93.tar.gz
Handle multiple standard macro sets sanely
The ordering of the macro sets ended up changing due to the recent file reorganization. Instead of forcing the order again, handle multiple macro sets (rather than just two) in a coherent manner. macros/macros.pl could use a cleanup of duplicated code, however. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'version.pl')
-rwxr-xr-xversion.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/version.pl b/version.pl
index a5577a02..579ba7b5 100755
--- a/version.pl
+++ b/version.pl
@@ -143,6 +143,7 @@ if ( $what eq 'h' ) {
printf "#define NASM_VER \"%s\"\n", $line;
print "#endif /* NASM_VERSION_H */\n";
} elsif ( $what eq 'mac' ) {
+ print "STD: version\n";
printf "%%define __NASM_MAJOR__ %d\n", $nmaj;
printf "%%define __NASM_MINOR__ %d\n", $nmin;
printf "%%define __NASM_SUBMINOR__ %d\n", $nsmin;