mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
This commit is contained in:
parent
5f82ebc217
commit
007ddf4e0a
4 changed files with 16 additions and 12 deletions
|
|
@ -75,11 +75,12 @@ src_configure() {
|
|||
-DENABLE_SOAPYSDR="$(usex soapysdr)"
|
||||
-DENABLE_ZEROMQ="$(usex zeromq)"
|
||||
-DENABLE_HARDSIM="$(usex simcard)"
|
||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO="${CFLAGS}"
|
||||
-DCMAKE_C_STANDARD=99
|
||||
-DCMAKE_CXX_STANDARD=14
|
||||
)
|
||||
# readd nerfed cflags that are required
|
||||
append-cflags "-std=c99 -fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cxxflags "-std=c++14 -fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cflags "-fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cxxflags "-fno-strict-aliasing -D_GNU_SOURCE"
|
||||
# "fix" "auto-detection" from use flags, this is probably horrible
|
||||
if use cpu_flags_x86_sse; then
|
||||
append-cflags "-DLV_HAVE_SSE -mfpmath=sse -msse4.1"
|
||||
|
|
|
|||
|
|
@ -75,11 +75,12 @@ src_configure() {
|
|||
-DENABLE_SOAPYSDR="$(usex soapysdr)"
|
||||
-DENABLE_ZEROMQ="$(usex zeromq)"
|
||||
-DENABLE_HARDSIM="$(usex simcard)"
|
||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO="${CFLAGS}"
|
||||
-DCMAKE_C_STANDARD=99
|
||||
-DCMAKE_CXX_STANDARD=14
|
||||
)
|
||||
# readd nerfed cflags that are required
|
||||
append-cflags "-std=c99 -fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cxxflags "-std=c++14 -fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cflags "-fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cxxflags "-fno-strict-aliasing -D_GNU_SOURCE"
|
||||
# "fix" "auto-detection" from use flags, this is probably horrible
|
||||
if use cpu_flags_x86_sse; then
|
||||
append-cflags "-DLV_HAVE_SSE -mfpmath=sse -msse4.1"
|
||||
|
|
|
|||
|
|
@ -73,11 +73,12 @@ src_configure() {
|
|||
-DENABLE_SOAPYSDR="$(usex soapysdr)"
|
||||
-DENABLE_ZEROMQ="$(usex zeromq)"
|
||||
-DENABLE_HARDSIM="$(usex simcard)"
|
||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO="${CFLAGS}"
|
||||
-DCMAKE_C_STANDARD=99
|
||||
-DCMAKE_CXX_STANDARD=14
|
||||
)
|
||||
# readd nerfed cflags that are required
|
||||
append-cflags "-std=c99 -fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cxxflags "-std=c++14 -fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cflags "-fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cxxflags "-fno-strict-aliasing -D_GNU_SOURCE"
|
||||
# "fix" "auto-detection" from use flags, this is probably horrible
|
||||
if use cpu_flags_x86_sse; then
|
||||
append-cflags "-DLV_HAVE_SSE -mfpmath=sse -msse4.1"
|
||||
|
|
|
|||
|
|
@ -74,11 +74,12 @@ src_configure() {
|
|||
-DENABLE_SOAPYSDR="$(usex soapysdr)"
|
||||
-DENABLE_ZEROMQ="$(usex zeromq)"
|
||||
-DENABLE_HARDSIM="$(usex simcard)"
|
||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO="${CFLAGS}"
|
||||
-DCMAKE_C_STANDARD=99
|
||||
-DCMAKE_CXX_STANDARD=14
|
||||
)
|
||||
# readd nerfed cflags that are required
|
||||
append-cflags "-std=c99 -fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cxxflags "-std=c++14 -fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cflags "-fno-strict-aliasing -D_GNU_SOURCE"
|
||||
append-cxxflags "-fno-strict-aliasing -D_GNU_SOURCE"
|
||||
# "fix" "auto-detection" from use flags, this is probably horrible
|
||||
if use cpu_flags_x86_sse; then
|
||||
append-cflags "-DLV_HAVE_SSE -mfpmath=sse -msse4.1"
|
||||
|
|
|
|||
Loading…
Reference in a new issue