From: Tobias Geerinckx-Rice Date: Sun, 26 Aug 2018 17:24:42 +0200 Subject: [PATCH] snappy: Add O2 flag in CmakeLists.txt. Use ‘-O2’ optimisation when building with CMake, as is already done when using the Makefile. This patch was copied verbatim from the Snappy mailing list[0]. [0]: From 903c72fb29b2db07b4abc38a5feb83d88f739d80 Mon Sep 17 00:00:00 2001 From: huangwenjun Date: Fri, 10 Aug 2018 17:17:35 +0800 Subject: [PATCH] Add O2 optimize flag in CmakeLists.txt. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 62ecd09..29e0cdc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,9 @@ set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2") +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2") + # BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to make # it prominent in the GUI. option(BUILD_SHARED_LIBS "Build shared libraries(DLLs)." OFF) -- 2.1.0 d=9829f53a3f88884e245e962073528be46918ad2e'>refslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-04nls: Update translations.Julien Lepiller
po/packages/tr.po: New file. po/packages/LINGUAS: Add it.
2022-05-01nls: Update translations.Julien Lepiller
po/guix/ja.po: New file. po/guix/LINGUAS: Add it.
2022-04-02nls: Update translations.Julien Lepiller
* po/packages/fi.po: New file. * po/packages/LINGUAS: Add it.
2022-03-01nls: Update translations.Julien Lepiller
* po/doc/guix-cookbook.uk.po: New file. * po/doc/local.mk: Add uk cookbook. * doc/local.mk: Add uk cookbook. * po/guix/fa.po: New file. * po/guix/uk.po: New file. * po/guix/LINGUAS: Add fa and uk.
2022-02-04nls: Update translations.Julien Lepiller
* po/doc/guix-cookbook.pt_BR.po: New file. * po/doc/local.mk: Add it. * doc/local.mk: Add pt_BR cookbook.
2022-01-09nls: Update translations.Julien Lepiller
* po/doc/guix-cookbook.fi.po: New file. * po/doc/guix-manual.fi.po: New file. * po/doc/local.mk: Add them. * doc/local.mk: Add them. * po/guix/fi.po: New file. * po/guix/LINGUAS: Add it.
2021-12-04nls: Update translations.Julien Lepiller
2021-11-06nls: Update translations.Julien Lepiller
* po/doc/guix-cookbook.es.po: New file. * po/doc/local.mk: Add 'es' cookbook. * doc/local.mk: Add 'es' cookbook.
2021-10-17nls: Update translations.Julien Lepiller
2021-09-02nls: Update translations.Julien Lepiller
* po/packages/it.po: New file. * po/packages/LINGUAS: Add `it'. * po/*/*.po: Update translations.
2021-08-04nls: Update translations.Julien Lepiller
* po/doc/guix-cookbook.ru.po: New file. * po/doc/guix-cookbook.sk.po: New file. * po/*/*.po: Update translations. * doc/local.mk (COOKBOOK_LANGUAGES): Add ru and sk. (info_TEXINFOS): Add Russian and Slovak cookbooks. * po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add Russian and Slovak po files.