diff --git a/Silicon/NVIDIA/Drivers/EqosDeviceDxe/EqosDeviceDxe.inf b/Silicon/NVIDIA/Drivers/EqosDeviceDxe/EqosDeviceDxe.inf index 364652d63f..f0da131a35 100644 --- a/Silicon/NVIDIA/Drivers/EqosDeviceDxe/EqosDeviceDxe.inf +++ b/Silicon/NVIDIA/Drivers/EqosDeviceDxe/EqosDeviceDxe.inf @@ -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