Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Commit

Permalink
gcc -march=native crashes software in docker; likely fixes https://tr…
Browse files Browse the repository at this point in the history
  • Loading branch information
neteler committed May 10, 2019
1 parent 667b989 commit b7b4058
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ ADD https://svn.osgeo.org/grass/grass/ /src/TrunkRevision.html
RUN svn update

# Set environmental variables for GRASS GIS compilation, without debug symbols
ENV INTEL "-march=native -std=gnu99 -fexceptions -fstack-protector -m64"
ENV MYCFLAGS "-O2 -fno-fast-math -fno-common $INTEL"
ENV MYLDFLAGS "-s -Wl,--no-undefined"
# Set gcc/g++ environmental variables for GRASS GIS compilation, without debug symbols
ENV MYCFLAGS "-O2 -std=gnu99 -m64"
ENV MYLDFLAGS "-s"
# CXX stuff:
ENV LD_LIBRARY_PATH "/usr/local/lib"
ENV LDFLAGS "$MYLDFLAGS"
Expand Down

0 comments on commit b7b4058

Please sign in to comment.