Skip to content

Commit

Permalink
* Link libraries with "-z noexecstack" on Linux as recommended by Ho…
Browse files Browse the repository at this point in the history
…tSpot (pull #90)
  • Loading branch information
saudet committed Apr 2, 2016
1 parent 8182d7d commit e415db9
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

* Link libraries with "-z noexecstack" on Linux as recommended by HotSpot ([pull #90](https://github.com/bytedeco/javacpp/issues/90))
* Set the internal DT_SONAME field in libraries created for Android ([issue bytedeco/javacpp-presets#188](https://github.com/bytedeco/javacpp-presets/issues/188))
* Add "org.bytedeco.javacpp.maxbytes" system property, forcing a call to `System.gc()` when this amount of memory tracked with deallocators is reached
* Let `Parser` pick up `Info.annotations` in the case of function pointers as well
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platform.compiler.cpp11=-std=c++11
platform.compiler.default=-march=armv5te
platform.compiler.fastfpu=-march=armv7-a -mfpu=neon -ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wl,-z,noexecstack -Wall -O3 -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.fastfpu=-ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wl,-z,noexecstack -Wall -O3 -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platform.compiler.cpp11=-std=c++11
platform.compiler.default=-march=armv6 -mfpu=vfp -mfloat-abi=hard
platform.compiler.fastfpu=-march=armv7-a -mfpu=neon -mfloat-abi=hard -ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wl,-z,noexecstack -Wall -O3 -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.fastfpu=-Xcompiler=-msse3,-ffast-math,-mfpmath=sse
platform.compiler.nodeprecated=-Xcompiler=-Wno-deprecated-declarations
platform.compiler.output=-Xlinker,-rpath,$ORIGIN/ -Xptxas=-v -Xcompiler=-march=i686,-m32,-Wall,-O3,-fPIC -Xlinker=-s -shared -o\u0020
platform.compiler.output=-Xlinker,-rpath,$ORIGIN/ -Xlinker=-z,noexecstack -Xptxas=-v -Xcompiler=-march=i686,-m32,-Wall,-O3,-fPIC -Xlinker=-s -shared -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Xlinker=-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.fastfpu=-msse3 -ffast-math -mfpmath=sse
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -march=i686 -m32 -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wl,-z,noexecstack -march=i686 -m32 -Wall -O3 -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.fastfpu=-Xcompiler=-msse3,-ffast-math
platform.compiler.nodeprecated=-Xcompiler=-Wno-deprecated-declarations
platform.compiler.output=-Xlinker=-rpath,$ORIGIN/ -Xptxas=-v -Xcompiler=-march=x86-64,-m64,-Wall,-O3,-fPIC -Xlinker=-s -shared -o\u0020
platform.compiler.output=-Xlinker=-rpath,$ORIGIN/ -Xlinker=-z,noexecstack -Xptxas=-v -Xcompiler=-march=x86-64,-m64,-Wall,-O3,-fPIC -Xlinker=-s -shared -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Xlinker=-rpath,
platform.linkpath=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platform.compiler.cpp11=-std=c++11
platform.compiler.default=
platform.compiler.fastfpu=-msse3 -ffast-math
platform.compiler.nodeprecated=-Wno-deprecated-declarations
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -march=x86-64 -m64 -Wall -O3 -fPIC -shared -s -o\u0020
platform.compiler.output=-Wl,-rpath,$ORIGIN/ -Wl,-z,noexecstack -march=x86-64 -m64 -Wall -O3 -fPIC -shared -s -o\u0020
platform.linkpath.prefix=-L
platform.linkpath.prefix2=-Wl,-rpath,
platform.linkpath=
Expand Down

0 comments on commit e415db9

Please sign in to comment.