File: rules

package info (click to toggle)
python-ocp 7.9.3.1%2B~cs7.9.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 61,552 kB
  • sloc: cpp: 341,803; ansic: 3,829; python: 803; pascal: 37; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 339 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export CC=clang
export CXX=clang++

%:
	dh $@

override_dh_dwz:
	# dh_dwz -- -L none # Fails with Unknown debugging section .debug_addr

ifneq (,$(DEB_BUILD_OPTION_PARALLEL))
  PARALLEL=$(DEB_BUILD_OPTION_PARALLEL)
else
  PARALLEL=$$(nproc)
endif

override_dh_auto_configure:
	dh_auto_configure -- -DN_PROC=$(PARALLEL)