File: rules

package info (click to toggle)
dynarmic 6.7.0%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,464 kB
  • sloc: cpp: 89,743; ansic: 515; asm: 224; sh: 102; makefile: 16
file content (23 lines) | stat: -rwxr-xr-x 679 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

# optimize=+all,-lto because I use CMake's LTO support
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+all,-lto qa=+all
# Added by qa=bug, triggers some false positives in xbyak
export DEB_CXXFLAGS_MAINT_STRIP = -Werror=array-bounds

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DBUILD_SHARED_LIBS=true \
		-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=true \
		-DCMAKE_POLICY_DEFAULT_CMP0069=NEW \
		-DDYNARMIC_IGNORE_ASSERTS=true \
		-DDYNARMIC_TESTS_USE_UNICORN=false \
		-DDYNARMIC_USE_LLVM=true \
		-DDYNARMIC_USE_PRECOMPILED_HEADERS=false \
		-DMCL_INSTALL=true

execute_after_dh_auto_install:
	dh_auto_install -- -C externals/mcl