Skip to content

Commit

Permalink
app_python: use -fno-strict-aliasing for gcc
Browse files Browse the repository at this point in the history
- python2 is known for not confirming strict aliasing
- it is EoL and likely not going to be fixed
- GH #2298
  • Loading branch information
miconda committed Apr 27, 2020
1 parent e64b291 commit 3366bf4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/app_python/Makefile
Expand Up @@ -29,5 +29,9 @@ endif

DEFS+=-I${PYTHON_INCDIR}

ifeq ($(CC_NAME), gcc)
DEFS+= -fno-strict-aliasing
endif

include ../../Makefile.modules

0 comments on commit 3366bf4

Please sign in to comment.