Created
January 23, 2021 10:38
-
-
Save kanyck/bf914a3978c284d1eb460048e3eee695 to your computer and use it in GitHub Desktop.
CFLAGS="-D_POSIX_C_SOURCE=200809L" emerge cairo-dock-plugins -- больше не работает
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/CMakeLists.txt b/CMakeLists.txt | |
| index 639fdc711..2d1c744f2 100644 | |
| --- a/CMakeLists.txt | |
| +++ b/CMakeLists.txt | |
| @@ -13,7 +13,7 @@ include ("${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/GNUInstallDirs.cmake") | |
| project ("cairo-dock-plugins") | |
| set (VERSION "3.4.1") | |
| -add_definitions (-std=c99 -Wall -Werror-implicit-function-declaration) # -Wextra -Wwrite-strings -Wuninitialized -Werror-implicit-function-declaration -Wstrict-prototypes -Wreturn-type -Wparentheses -Warray-bounds) | |
| +add_definitions (-std=gnu99 -Wall -Werror-implicit-function-declaration) # -Wextra -Wwrite-strings -Wuninitialized -Werror-implicit-function-declaration -Wstrict-prototypes -Wreturn-type -Wparentheses -Warray-bounds) | |
| if (NOT DEFINED CMAKE_BUILD_TYPE) | |
| add_definitions (-O3) | |
| endif() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment