]> git.proxmox.com Git - mirror_zfs.git/blobdiff - config/rpm.am
Cleanly support debug packages
[mirror_zfs.git] / config / rpm.am
index c352fc582cf9f795ee6b13685fd46efc409ca0f0..d557f77b4a7ff86eb4fa188608f5d26e00319b7b 100644 (file)
@@ -68,6 +68,7 @@ rpm-common:
                --define "require_spldir $(SPL)" \
                --define "require_splobj $(SPL_OBJ)" \
                --define "require_splver $(SPL_VERSION)" \
+               --define "$(DEBUG_ZFS) 1" \
                --nodeps --rebuild $$rpmpkg || exit 1; \
        cp $$rpmbuild/RPMS/*/* . || exit 1; \
        $(RM) -R $$rpmbuild