diff options
author | portix <portix@gmx.net> | 2014-03-02 14:20:38 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2014-03-02 14:20:38 +0100 |
commit | ea3ab348aabc2446d1ae5d8f2a07815d9454b15a (patch) | |
tree | 6add67dc53644e95998b7c5b1861a5321e5e3e3e | |
parent | 4986a796f973c47f1e9314cdeeac77efa9f81b9e (diff) | |
download | dwb-ea3ab348aabc2446d1ae5d8f2a07815d9454b15a.zip |
Change optimization flags for exar/dwbem Makefile
-rw-r--r-- | dwbem/Makefile | 2 | ||||
-rw-r--r-- | dwbem/dwbem.c | 2 | ||||
-rw-r--r-- | exar/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dwbem/Makefile b/dwbem/Makefile index d67a767f..381de2cf 100644 --- a/dwbem/Makefile +++ b/dwbem/Makefile @@ -15,7 +15,7 @@ SYSTEM_EXTENSION_DIR=$(PREFIX)/share/dwb/extensions CFLAGS := $(CFLAGS) CFLAGS += -std=c99 -CFLAGS += -Wall -g -O0 +CFLAGS += -Wall -O2 -pedantic CFLAGS += -Wextra -Werror=format-security CFLAGS += $(shell pkg-config --cflags $(LIBS)) CFLAGS += -DSYSTEM_EXTENSION_DIR=\"$(SYSTEM_EXTENSION_DIR)\" diff --git a/dwbem/dwbem.c b/dwbem/dwbem.c index 660df898..925d3217 100644 --- a/dwbem/dwbem.c +++ b/dwbem/dwbem.c @@ -1134,7 +1134,7 @@ cl_info(const char *name, int flags) SoupMessage *msg = NULL; char *path, *data = NULL; - const char *tmp; + const char *tmp = NULL; path = g_build_filename(m_system_dir, name, NULL); if ((data = get_data(NULL, path, "INFO", F_MATCH_MULTILINE)) != NULL) { diff --git a/exar/Makefile b/exar/Makefile index 4f8e99da..e66fdbb9 100644 --- a/exar/Makefile +++ b/exar/Makefile @@ -1,6 +1,6 @@ ORIG_CFLAGS := $(CFLAGS) -CFLAGS := -Wall -pedantic -Werror -Wextra -std=c99 -O0 -g +CFLAGS := -Wall -pedantic -Werror -Wextra -std=c99 -O2 CFLAGS += $(ORIG_CFLAGS) DCFLAGS += -g -O0 -Wall -pedantic -Werror -Wextra -std=c99 |