From 0871db30bd73d112a434f54572d34cca28de61c5 Mon Sep 17 00:00:00 2001 From: fis Date: Sat, 26 May 2018 22:58:37 +0800 Subject: [PATCH 2/2] * CMakeLists.txt: Fix flags for gcc. --- CMakeLists.txt | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eba147b..d60dcef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,20 +6,6 @@ add_executable(unit src/fifo_map.hpp test/unit.cpp) target_include_directories(unit PRIVATE "test" "src") -if(MSVC) - set(CMAKE_CXX_FLAGS - "/EHsc" - ) +set(CMAKE_CXX_FLAGS "-std=c++11 -fpermissive") - STRING(REPLACE "/O2" "/Od" CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE}) - - add_definitions(-D_SCL_SECURE_NO_WARNINGS) -else(MSVC) - set(CMAKE_CXX_FLAGS - "-std=c++11 -stdlib=libc++" - ) -endif(MSVC) - -include_directories( - src test -) +include_directories(src test) -- 2.14.3 d class='sub'>Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/libffi.scm
AgeCommit message (Collapse)Author
2024-12-13gnu: python-cffi: Improve package style.Sharlatan Hellseher
* gnu/packages/libffi.scm: Add python-build and pyproject modules. Select just pypi-uri symbol from python module. (python-cffi): Fix indenation and adjust order of fileds. [build-system]: Swap to pyproject-build-system. [arguments]<test-flags>: Move tests directories and deselcect options here. <phases>: Use default 'check phase. Add 'set-gcc phase. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I0baa120ac86ef1c1e90cf44a4d439d874b8920b5
2024-12-13gnu: python-cffi: Update to 1.17.1.Sharlatan Hellseher
* gnu/packages/libffi.scm (python-cffi): Update to 1.17.1. [phases]{check}: Adjust changed path to C sources. {patch-paths-of-dynamically-loaded-libraries}: Likewise. Change-Id: I76a58fbd339cef96379784ae670fc4b1339e3a9c
2024-12-03gnu: libffi: Fix [cross-]build with gcc-14.Janneke Nieuwenhuizen
* gnu/packages/libffi.scm (libffi)[arguments]: When building for the 64bit Hurd, or cross-building, add "CFLAGS" to #:configure-flags to disable breaking warning. Change-Id: I05bf3f460f3e292626de1894b7a3cf381cb07702