DongHyuk Yang <[email protected]> writes: > Samsung Enterprise Portal mySingle > > I am trying to use "--define" option of GBS: > > # gbs build -A i586 --define 'buildtype Debug' > > The define(buildtype) will be transferred to the macro of 'rpmbuild' > > [ 7s] - > ---------------------------------------------------------------- > [ 7s] ----- building aul.spec (user abuild) > [ 7s] - > ---------------------------------------------------------------- > [ 7s] - > ---------------------------------------------------------------- > [ 7s] + exec rpmbuild \ > --define 'buildtype Debug' \ > --define '_srcdefattr (-,root,root)' \ > --nosignature --target=i586 \ > --define '_build_create_debug 1' \ > .... > > And I will use the macro(buildtype) on .spec file: > > %cmake . -DCMAKE_BUILD_TYPE=%{buildtype}
Is it not working? _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
