gsdx: fix compilation error with ICC

just require the -restrict compilation flag
This commit is contained in:
Gregory Hainaut 2016-07-28 11:01:28 +02:00
parent 76f38d3da0
commit 620876e0e7
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@ set(CommonFlags
-Wunused-variable # __dummy variable need to be investigated -Wunused-variable # __dummy variable need to be investigated
) )
if(USE_ICC)
set(CommonFlags "${CommonFlags} -restrict")
endif()
set(GSdxFinalFlags ${CommonFlags}) set(GSdxFinalFlags ${CommonFlags})
if(XDG_STD) if(XDG_STD)