summaryrefslogtreecommitdiffstats
path: root/scripts/t/mk/buildflags.mk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:35:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:35:28 +0000
commitea314d2f45c40a006c0104157013ab4b857f665f (patch)
tree3ef2971cb3675c318b8d9effd987854ad3f6d3e8 /scripts/t/mk/buildflags.mk
parentInitial commit. (diff)
downloaddpkg-ea314d2f45c40a006c0104157013ab4b857f665f.tar.xz
dpkg-ea314d2f45c40a006c0104157013ab4b857f665f.zip
Adding upstream version 1.22.4.upstream/1.22.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts/t/mk/buildflags.mk')
-rw-r--r--scripts/t/mk/buildflags.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/t/mk/buildflags.mk b/scripts/t/mk/buildflags.mk
new file mode 100644
index 0000000..94d85a7
--- /dev/null
+++ b/scripts/t/mk/buildflags.mk
@@ -0,0 +1,26 @@
+DEB_CPPFLAGS_MAINT_APPEND = -DTEST_MK=test-host
+DEB_CPPFLAGS_FOR_BUILD_MAINT_APPEND = -DTEST_MK=test-build
+
+include $(srcdir)/mk/buildflags.mk
+
+test:
+ test "$(ASFLAGS)" = "$(TEST_ASFLAGS)"
+ test "$(ASFLAGS_FOR_BUILD)" = "$(TEST_ASFLAGS_FOR_BUILD)"
+ test "$(CFLAGS)" = "$(TEST_CFLAGS)"
+ test "$(CFLAGS_FOR_BUILD)" = "$(TEST_CFLAGS_FOR_BUILD)"
+ test "$(CPPFLAGS)" = "$(TEST_CPPFLAGS) -DTEST_MK=test-host"
+ test "$(CPPFLAGS_FOR_BUILD)" = "$(TEST_CPPFLAGS_FOR_BUILD)-DTEST_MK=test-build"
+ test "$(CXXFLAGS)" = "$(TEST_CXXFLAGS)"
+ test "$(CXXFLAGS_FOR_BUILD)" = "$(TEST_CXXFLAGS_FOR_BUILD)"
+ test "$(DFLAGS)" = "$(TEST_DFLAGS)"
+ test "$(DFLAGS_FOR_BUILD)" = "$(TEST_DFLAGS_FOR_BUILD)"
+ test "$(FCFLAGS)" = "$(TEST_FCFLAGS)"
+ test "$(FCFLAGS_FOR_BUILD)" = "$(TEST_FCFLAGS_FOR_BUILD)"
+ test "$(FFLAGS)" = "$(TEST_FFLAGS)"
+ test "$(FFLAGS_FOR_BUILD)" = "$(TEST_FFLAGS_FOR_BUILD)"
+ test "$(LDFLAGS)" = "$(TEST_LDFLAGS)"
+ test "$(LDFLAGS_FOR_BUILD)" = "$(TEST_LDFLAGS_FOR_BUILD)"
+ test "$(OBJCFLAGS)" = "$(TEST_OBJCFLAGS)"
+ test "$(OBJCFLAGS_FOR_BUILD)" = "$(TEST_OBJCFLAGS_FOR_BUILD)"
+ test "$(OBJCXXFLAGS)" = "$(TEST_OBJCXXFLAGS)"
+ test "$(OBJCXXFLAGS_FOR_BUILD)" = "$(TEST_OBJCXXFLAGS_FOR_BUILD)"