Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/librfxcodec.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormirabilos <thorsten.glaser@teckids.org>2017-03-25 23:09:44 +0300
committermirabilos <thorsten.glaser@teckids.org>2017-03-25 23:09:44 +0300
commit0b4f260e94aa7b6cbf5d744c6f9db2d0a6b14b89 (patch)
tree7e2f0cb41525f4f554b76c59c1262b702086fe63
parent7f061cc04bd9b1c945d25f855fbb34eb248c4fcb (diff)
define a macro to make the current architecture known to common.asm
-rw-r--r--src/amd64/Makefile.am2
-rw-r--r--src/x86/Makefile.am2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/amd64/Makefile.am b/src/amd64/Makefile.am
index 07aae69..2870ab5 100644
--- a/src/amd64/Makefile.am
+++ b/src/amd64/Makefile.am
@@ -1,3 +1,5 @@
+NAFLAGS += -DASM_ARCH_AMD64
+
AMD64_ASM = \
cpuid_amd64.asm \
rfxcodec_encode_dwt_shift_amd64_sse2.asm \
diff --git a/src/x86/Makefile.am b/src/x86/Makefile.am
index 2d099e5..3c88cee 100644
--- a/src/x86/Makefile.am
+++ b/src/x86/Makefile.am
@@ -1,3 +1,5 @@
+NAFLAGS += -DASM_ARCH_I386
+
X86_ASM = \
cpuid_x86.asm \
rfxcodec_encode_dwt_shift_x86_sse2.asm \