config: fix build with external compiler by passing the sysroot where needed
[AROS.git] / config / compiler.cfg.in
blob919f2889652bed60bf11b1daf29df939e5cb9cec
1 # LTO/Graphite optimization flags
3 CFLAGS_LTO                              := @aros_cflags_lto@
4 CFLAGS_LOOP_BLOCK                       := @aros_cflags_loop_block@
5 CFLAGS_LOOP_INTERCHANGE                 := @aros_cflags_loop_interchange@
6 CFLAGS_LOOP_STRIP_MINE                  := @aros_cflags_loop_strip_mine@
8 # -iquote support
9 CFLAGS_IQUOTE                           := @aros_cflags_iquote@
10 CFLAGS_IQUOTE_END                       := @aros_cflags_iquote_end@
12 # Disable compiler warning flags
14 NOWARN_UNUSED_COMMAND_LINE_ARGUMENT     := @aros_cflags_unused_command_line_argument@
15 NOWARN_UNKNOWN_WARNING_OPTION           := @aros_cflags_unknown_warning_option@
17 NOWARN_UNUSED_BUT_SET_VARIABLE          := @aros_cflags_unused_but_set_variable@
18 NOWARN_STRICT_ALIASING                  := @aros_cflags_strict_aliasing@
19 NOWARN_ARRAY_BOUNDS                     := @aros_cflags_array_bounds@
20 NOWARN_ENUM_COMPARE                     := @aros_cflags_enum_compare@
21 NOWARN_BOOL_COMPARE                     := @aros_cflags_bool_compare@
22 NOWARN_SIGN_COMPARE                     := @aros_cflags_sign_compare@
23 NOWARN_NONNULL_COMPARE                  := @aros_cflags_nonnull_compare@
24 NOWARN_OVERFLOW                         := @aros_cflags_overflow@
25 NOWARN_STRICT_OVERFLOW                  := @aros_cflags_strict_overflow@
26 NOWARN_FORMAT_SECURITY                  := @aros_cflags_format_security@
27 NOWARN_MISLEADING_INDENTATION           := @aros_cflags_misleading_indentation@
28 NOWARN_UNUSED                           := @aros_cflags_unused@
29 NOWARN_UNUSED_VALUE                     := @aros_cflags_unused_value@
30 NOWARN_UNUSED_VARIABLE                  := @aros_cflags_unused_variable@
31 NOWARN_UNUSED_FUNCTION                  := @aros_cflags_unused_function@
32 NOWARN_UNUSED_PARAMETER                 := @aros_cflags_unused_parameter@
33 NOWARN_IMPLICIT_FUNCTION_DECL           := @aros_cflags_implicit_function_declaration@
34 NOWARN_UNINITIALIZED                    := @aros_cflags_uninitialized@
35 NOWARN_MAYBE_UNINITIALIZED              := @aros_cflags_maybe_uninitialized@
36 NOWARN_FORMAT                           := @aros_cflags_format@
37 NOWARN_PARENTHESES                      := @aros_cflags_parentheses@
38 NOWARN_CHAR_SUBSCRIPTS                  := @aros_cflags_char_subscripts@
39 NOWARN_ENDIF_LABELS                     := @aros_cflags_endif_labels@
40 NOWARN_FORMAT_CONTAINS_NUL              := @aros_cflags_format_contains_nul@
41 NOWARN_IMPLICIT_INT                     := @aros_cflags_implicit_int@
42 NOWARN_AGGRESSIVE_LOOP_OPT              := @aros_cflags_aggressive_loop_optimizations@
43 NOWARN_CPP                              := @aros_cflags_cpp@
44 NOWARN_SWITCH                           := @aros_cflags_switch@
45 NOWARN_DISCARDED_QUALIFIERS             := @aros_cflags_discarded_qualifiers@
46 NOWARN_SEQUENCE_POINT                   := @aros_cflags_sequence_point@
47 NOWARN_UNKNOWN_PRAGMAS                  := @aros_cflags_unknown_pragmas@
48 NOWARN_DISCARDED_ARRAY_QUAL             := @aros_cflags_discarded_array_qualifiers@
49 NOWARN_INT_CONVERSION                   := @aros_cflags_int_conversion@
50 NOWARN_INT_TO_POINTER_CAST              := @aros_cflags_int_to_pointer_cast@
51 NOWARN_POINTER_TO_INT_CAST              := @aros_cflags_pointer_to_int_cast@
52 NOWARN_UNUSED_CONST_VARIABLE            := @aros_cflags_unused_const_variable@
53 NOWARN_WRITE_STRINGS                    := @aros_cflags_write_strings@
54 NOWARN_COMMENT                          := @aros_cflags_comment@
55 NOWARN_INCOMPAT_POINTER_TYPES           := @aros_cflags_incompatible_pointer_types@
56 NOWARN_LOGICAL_NOT_PARENTHESES          := @aros_cflags_logical_not_parentheses@
57 NOWARN_STRICT_PROTOTYPES                := @aros_cflags_strict_prototypes@
58 NOWARN_POINTER_SIGN                     := @aros_cflags_pointer_sign@
59 NOWARN_SHIFT_OVERFLOW                   := @aros_cflags_shift_overflow@
60 NOWARN_FRAME_ADDRESS                    := @aros_cflags_frame_address@
61 NOWARN_DEPRECATED_DECLARATIONS          := @aros_cflags_deprecated_declarations@
62 NOWARN_ATTRIBUTES                       := @aros_cflags_attributes@
63 NOWARN_UNUSED_LOCAL_TYPEDEFS            := @aros_cflags_unused_local_typedefs@
64 NOWARN_MISSING_BRACES                   := @aros_cflags_missing_braces@
65 NOWARN_CONVERSION_NULL                  := @aros_cflags_conversion_null@
66 NOWARN_NARROWING                        := @aros_cflags_narrowing@
67 NOWARN_VOLATILE_REGISTER_VAR            := @aros_cflags_volatile_register_var@