openbsd-ports/devel/simulavr/patches/patch-test_c_Makefile_in
jasper d33cd9370c import simulavr 0.1.2.6
The Simulavr program is a simulator for the Atmel AVR family of
microcontrollers. Simulavr can be used either standalone or as a remote
target for gdb. When used in gdbserver mode, the simulator is used as a
backend so that gdb can be used as a source level debugger for AVR
programs.

ok aja@
2011-03-07 19:35:49 +00:00

13 lines
484 B
Plaintext

$OpenBSD: patch-test_c_Makefile_in,v 1.1.1.1 2011/03/07 19:35:49 jasper Exp $
--- test_c/Makefile.in.orig Tue Jan 18 23:31:42 2011
+++ test_c/Makefile.in Tue Jan 18 23:32:06 2011
@@ -140,7 +140,7 @@ AVR_OBJDUMP = @AVR_OBJDUMP@
AWK = @AWK@
CC = $(AVR_CC)
CCDEPMODE = @CCDEPMODE@
-CFLAGS = -g -Wall $(AVR_TARGET)
+CFLAGS = -g -Wall $(AVR_TARGET) -I${LOCALBASE}/avr/include/
COND_HAS_PYTHON_FALSE = @COND_HAS_PYTHON_FALSE@
COND_HAS_PYTHON_TRUE = @COND_HAS_PYTHON_TRUE@
CPP = @CPP@