Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=8238f90aa1ea666fce48fcaaea692f18ed04bc08

commit 8238f90aa1ea666fce48fcaaea692f18ed04bc08
Author: Marius Cirsta <[email protected]>
Date:   Fri Oct 12 01:21:00 2012 +0000

* require C99 standard and add -D_GNU_SOURCE for entire project

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ceb6e94..5348746 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,6 +9,7 @@ include (CheckFunctionExists)

string(TOLOWER ${CMAKE_PROJECT_NAME} CMAKE_PROJECT_NAME_LOWER)
set (PACMAN_G2_VERSION 3.8.9)
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_GNU_SOURCE")

SET(ENABLE_NLS TRUE CACHE BOOL "Translation program messages to the user's 
native language ?")
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to