setting an argument in the Makefile

182 Views Asked by At

All the other variables used are defined

OPT='_topdir ${TOPDIR}'

rpmbuild --buildroot ${TOPDIR}/BUILDROOT/${RPM_NAME}-${VER}-${RELEASE}.${ARCH} --define=$(OPT) -vv -ba ${RPM_NAME}.spec

ERROR :

make: *** [depend-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.nsEjuv (%build)


RPM build errors:
    Macro % has illegal name (%define)
    Bad exit status from /var/tmp/rpm-tmp.nsEjuv (%build)
0

There are 0 best solutions below