mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-16 21:25:19 +02:00
ubb-la/Makefile (CFLAGS): even -O1 isn't safe; use -O0 instead
While -O1 gets rid of the unexpected read in the simple code of a synthetic test, it's still there in the more complex environment we have in ubb-la.c Turning off optimization completely seems to do the trick.
This commit is contained in:
parent
00ef01ada8
commit
bac21bf8cb
@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
CC = mipsel-openwrt-linux-gcc
|
CC = mipsel-openwrt-linux-gcc
|
||||||
CFLAGS = -g -Wall -O1 -I../libubb/include
|
CFLAGS = -g -Wall -O0 -I../libubb/include
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
LDLIBS = -L../libubb -lubb -lm -lrt
|
LDLIBS = -L../libubb -lubb -lm -lrt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user