1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=-all
ifneq ($(filter $(DEB_HOST_ARCH),armel mipsel powerpc),)
CMAKEFLAGS += -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic
endif
%:
dh $@ -Scmake
execute_before_dh_clean:
-$(RM) -rf obj-*/
override_dh_auto_configure:
dh_auto_configure -- $(CMAKEFLAGS)
execute_before_dh_install:
# The directory below only contains a license file deep in the tree.
rm -rvf $(CURDIR)/debian/rocm-device-libs/usr/share/doc/ROCm-Device-Libs
|