74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings"
AC_SUBST(NO_CONST_CFSTRINGS, "-fno-constant-cfstrings")
])
AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32 -Werror,
[OBJCFLAGS="$OBJCFLAGS -Wshorten-64-to-32"])
AX_CHECK_COMPILER_FLAGS(-Wsemicolon-before-method-body -Werror,
[OBJCFLAGS="$OBJCFLAGS -Wsemicolon-before-method-body"])
case "$OBJC" in
*clang*)
ASFLAGS="$ASFLAGS -no-integrated-as"
;;
esac
|
>
>
|
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings"
AC_SUBST(NO_CONST_CFSTRINGS, "-fno-constant-cfstrings")
])
AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32 -Werror,
[OBJCFLAGS="$OBJCFLAGS -Wshorten-64-to-32"])
AX_CHECK_COMPILER_FLAGS(-Wsemicolon-before-method-body -Werror,
[OBJCFLAGS="$OBJCFLAGS -Wsemicolon-before-method-body"])
AX_CHECK_COMPILER_FLAGS(-Wobjc-property-synthesis -Werror,
[OBJCFLAGS="$OBJCFLAGS -Wobjc-property-synthesis"])
case "$OBJC" in
*clang*)
ASFLAGS="$ASFLAGS -no-integrated-as"
;;
esac
|