ObjFW  Diff

Differences From Artifact [5f63e9e6f7]:

To Artifact [8591f0efb5]:


63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
esac
AX_CHECK_COMPILER_FLAGS(-pipe, [OBJCFLAGS="$OBJCFLAGS -pipe"])
AX_CHECK_COMPILER_FLAGS(-fno-common, [OBJCFLAGS="$OBJCFLAGS -fno-common"])
AX_CHECK_COMPILER_FLAGS(-fno-constant-cfstrings, [
	OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings"
	AC_SUBST(NO_CONST_CFSTRINGS, "-fno-constant-cfstrings")
])
AX_CHECK_COMPILER_FLAGS(-Wshorten-64-to-32,
	[OBJCFLAGS="$OBJCFLAGS -Wshorten-64-to-32"])
AX_CHECK_COMPILER_FLAGS(-Wsemicolon-before-method-body,
	[OBJCFLAGS="$OBJCFLAGS -Wsemicolon-before-method-body"])
AX_CHECK_COMPILER_FLAGS(-Wno-objc-root-class,
	[OBJCFLAGS="$OBJCFLAGS -Wno-objc-root-class"])
AX_CHECK_COMPILER_FLAGS([-Wno-deprecated-objc-pointer-introspection -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wno-deprecated-objc-pointer-introspection"])
AX_CHECK_COMPILER_FLAGS(-Wdocumentation,
	[OBJCFLAGS="$OBJCFLAGS -Wdocumentation"])

case "$OBJC" in
	*clang*)
		ASFLAGS="$ASFLAGS -no-integrated-as"
		;;
esac







|

|

|



|







63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
esac
AX_CHECK_COMPILER_FLAGS(-pipe, [OBJCFLAGS="$OBJCFLAGS -pipe"])
AX_CHECK_COMPILER_FLAGS(-fno-common, [OBJCFLAGS="$OBJCFLAGS -fno-common"])
AX_CHECK_COMPILER_FLAGS(-fno-constant-cfstrings, [
	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(-Wno-objc-root-class -Werror,
	[OBJCFLAGS="$OBJCFLAGS -Wno-objc-root-class"])
AX_CHECK_COMPILER_FLAGS([-Wno-deprecated-objc-pointer-introspection -Werror],
	[OBJCFLAGS="$OBJCFLAGS -Wno-deprecated-objc-pointer-introspection"])
AX_CHECK_COMPILER_FLAGS(-Wdocumentation -Werror,
	[OBJCFLAGS="$OBJCFLAGS -Wdocumentation"])

case "$OBJC" in
	*clang*)
		ASFLAGS="$ASFLAGS -no-integrated-as"
		;;
esac