File: rules

package info (click to toggle)
roctracer 6.4.1-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,100 kB
  • sloc: cpp: 4,928; python: 941; ansic: 424; sh: 215; lisp: 20; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export VERBOSE=1

# filter incompatible options from affecting device code
#CXXFLAGS := $(subst -fstack-protector-strong,-Xarch_host -fstack-protector-strong,$(CXXFLAGS))
#CXXFLAGS := $(subst -fcf-protection,-Xarch_host -fcf-protection,$(CXXFLAGS))

CMAKE_FLAGS = \
	-DFILE_REORG_BACKWARD_COMPATIBILITY=OFF \
	-DBUILD_ROCTRACER64=OFF \
	-DROCTRACER_WERROR=OFF

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CMAKE_FLAGS)