Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • scripts
  • package
  • mkspec
Find file BlameHistoryPermalink
  • Jeremy Kerr's avatar
    scripts/package: don't break if %{_smp_mflags} isn't set · 13797b77
    Jeremy Kerr authored Oct 25, 2008
    
    
    Currently, if we do a 'make rpm-pkg' without the _smp_mflags rpm macro
    defined, the build fails with:
    
      [snip]
      Executing(%build): /bin/bash -e /var/tmp/rpm-tmp.67959
      + umask 022
      + cd /home/jk/devel/kernel-snapshot/rpm/BUILD
      + cd kernel-2.6.26
      + make clean
      + make '%{_smp_mflags}'
      make[3]: *** No rule to make target `%{_smp_mflags}'.  Stop.
      error: Bad exit status from /var/tmp/rpm-tmp.67959 (%build)
    
    This change uses the 'null if not set' reference to the _smp_mflags
    macro instead.
    
    Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    13797b77
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7