Hello Andreas,
clang-3.6 t.c -Wp,--help
prints:
USAGE: clang -cc1 [options] <inputs>
OPTIONS:
-iquote <directory> Add directory to QUOTE include search path
[with t.c: #include <stdio.h>
int main (int argc, char** argv) {printf("abc\n"); return 0;}]
Greetings
Dilian
On 07/13/2015 11:29 AM, Andreas Schwab wrote:
Dilyan Palauzov <dilyan.palauzov@aegee.org> writes:
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index dfaa8a3..579d0dd 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -468,7 +468,7 @@ OPCODES = $(OPCODES_DIR)/libopcodes.a
# versions?
OP_INCLUDE = $(INCLUDE_DIR)/opcode
# Some source files like to use #include "opcodes/file.h"
-OPCODES_CFLAGS = -I$(OP_INCLUDE) -I$(OPCODES_SRC)/..
+OPCODES_CFLAGS = -I$(OP_INCLUDE) -iquote$(OPCODES_SRC)/..
-iquote is gcc-only.
Andreas.