Skip to content

Commit

Permalink
fix: Disable outline-atomics for nvethernetrm
Browse files Browse the repository at this point in the history
This fixes a compile issue on versions of GCC 10.x or later that enable
outline-atomics by default.  CompilerIntrinsicsLib supports many of
these atomics, but not the ones in use by nvethernetrm.

Signed-off-by: Jake Garver <[email protected]>
Reviewed-by: Jeff Brasen <[email protected]>
  • Loading branch information
jgarver committed Dec 4, 2023
1 parent 71fc2f6 commit b361959
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Silicon/NVIDIA/Drivers/EqosDeviceDxe/EqosDeviceDxe.inf
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,7 @@

[BuildOptions]
*_*_*_PP_FLAGS = -DUPDATED_PAD_CAL -DMACSEC_SUPPORT
*_*_*_CC_FLAGS = -DUPDATED_PAD_CAL -DMACSEC_SUPPORT -Wno-unused-function -Wno-self-assign
# -mno-outline-atomics is required for GCC 10.x and later, which makes
# -moutline-atomics the default. nvethernetrm uses atomics not currently
# supported by CompilerIntrinsicsLib.
*_*_*_CC_FLAGS = -DUPDATED_PAD_CAL -DMACSEC_SUPPORT -Wno-unused-function -Wno-self-assign -mno-outline-atomics

0 comments on commit b361959

Please sign in to comment.