summaryrefslogtreecommitdiff
path: root/extra/usb_updater/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/usb_updater/Makefile')
-rw-r--r--extra/usb_updater/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/extra/usb_updater/Makefile b/extra/usb_updater/Makefile
index 1dfbc55645..5a8dc82c28 100644
--- a/extra/usb_updater/Makefile
+++ b/extra/usb_updater/Makefile
@@ -1,4 +1,4 @@
-# Copyright 2015 The Chromium OS Authors. All rights reserved.
+# Copyright 2015 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -19,10 +19,10 @@ CFLAGS := -std=gnu99 \
-Wredundant-decls \
-Wmissing-declarations
-ifeq (DEBUG,)
-CFLAGS += -O3
-else
+ifneq ($(DEBUG),)
CFLAGS += -O0
+else
+CFLAGS += -O3
endif
#
@@ -52,4 +52,3 @@ clean:
parser_debug: desc_parser.c
gcc -g -O0 -DTEST_PARSER desc_parser.c -o dp
-