Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-20349

Set GOAMD64=v2 in go srpm macros

    • Icon: Story Story
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • go-srpm-macros
    • None
    • Medium
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      Goal

      C/C++ rpm use `-march=x86-64-v2` by default in RHEL 9+, make go rpms use `GOAMD64=v2` to maybe gain a bit of perf / size

      Acceptance Criteria

      go version -m <bin> | grep GOAMD64
      

       

              go-maint@redhat.com Go Maint
              champtar Etienne Champetier
              David Benoit David Benoit
              Edjunior Machado Edjunior Machado
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: