Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
dt_ctrl
Commits
03ad7b67
Commit
03ad7b67
authored
Dec 18, 2014
by
Jeroen Vreeken
Browse files
Set optimize flags
parent
11fbd58a
Changes
2
Hide whitespace changes
Inline
Side-by-side
common/utils/build.mk
View file @
03ad7b67
...
...
@@ -22,7 +22,7 @@ ARCHSRCS := $(DIR)/tcp_connect.c \
ARCHOBJS
:=
$(ARCHSRCS:.c=.lo)
LU_CFLAGS
:=
-Wall
-
g
-fPIC
-pthread
LU_CFLAGS
:=
-Wall
-
O3
-fPIC
-pthread
LU_LDFLAGS
:=
-lrt
-lm
LU_CFLAGS
+=
`
pkg-config
--cflags
glib-2.0
`
...
...
console/console/build.mk
View file @
03ad7b67
...
...
@@ -145,7 +145,7 @@ $(DIR)/console_sattracker: libcommand.la libpredict.la libnova.la
$(DIR)/console_sattracker
:
$(DIR)/console_sattracker.o
CONSOLE_SRCS
+=
$(DIR)
/console_sattracker.c
$(DIR)/console_httpd.o
:
CFLAGS += -Wall -O
0 -g
$(DIR)/console_httpd.o
:
CFLAGS += -Wall -O
3
$(DIR)/
console_httpd_LDFLAGS
+=
-llog
-ltrace
-lcommand
-lwebsockets
-lmagic
$(DIR)/console_httpd
:
liblog.la libtrace.la libcommand.la
$(DIR)/console_httpd
:
$(DIR)/console_httpd.o
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment