1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-16 19:11:55 +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:
Werner Almesberger 2013-01-24 17:35:52 -03:00
parent 00ef01ada8
commit bac21bf8cb

View File

@ -11,7 +11,7 @@
#
CC = mipsel-openwrt-linux-gcc
CFLAGS = -g -Wall -O1 -I../libubb/include
CFLAGS = -g -Wall -O0 -I../libubb/include
LDFLAGS =
LDLIBS = -L../libubb -lubb -lm -lrt