Index: Makefile |
diff --git a/Makefile b/Makefile |
index cae78377f25cc35571099e65562d301032e89d7d..be4318c85079dfb09925223383b57c904a07a80e 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -1,4 +1,4 @@ |
-# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
# |
@@ -8,7 +8,9 @@ |
# OPT_CFLAGS is here to allow adding options for manual, host-side |
# builds. |
OPT_CFLAGS = |
-COMMON_CFLAGS += -Wall -Werror -fPIC -fno-exceptions $(OPT_CFLAGS) |
+COMMON_CFLAGS += -D_GNU_SOURCE |
+COMMON_CFLAGS += -Wall -Werror -fPIC -fno-exceptions |
+COMMON_CFLAGS += $(OPT_CFLAGS) |
CFLAGS += $(COMMON_CFLAGS) |
CXXFLAGS += $(COMMON_CFLAGS) |