def METHOD_NAME(self):
    super().METHOD_NAME()
    if self.enable_assertions:
        self.COMMON_FLAGS.append("-DUSE_ASSERT_CHECKING=1")
        # self.COMMON_FLAGS.append("-DLOCK_DEBUG=1")
        self.configure_args.append("--enable-cassert")
    self.common_warning_flags.extend(["-pedantic", "-Wno-gnu-statement-expression",
                                      "-Wno-flexible-array-extensions",  # TODO: could this cause errors?
                                      "-Wno-format-pedantic"])
    self.LDFLAGS.append("-pthread")
    if OSInfo.IS_FREEBSD and self.compiling_for_host():
        # Something werid is happending with the locale code (somehow not being built -FPIC?):
        # /usr/local/llvm60/bin/ld: error: can't create dynamic relocation R_X86_64_PC32 against symbol:
        # _CurrentRuneLocale in readonly segment; recompile object files with -fPIC
        # >>> defined in /lib/libc.so.7
        # >>> referenced by pgstrcasecmp.c:37 (/exports/users/alr48/sources/postgres/src/port/pgstrcasecmp.c:37)
        # >>>               pgstrcasecmp.o:(pg_strcasecmp) in archive ../../src/port/libpgport.a
        #
        # As a workaround I'll just add -fPIC
        self.COMMON_FLAGS.append("-fPIC")
    if OSInfo.IS_FREEBSD or not self.compiling_for_host():
        # postgres can't find readline on FreeBSD:
        self.COMMON_FLAGS.append("-I/usr/include/edit")
    if not self.compiling_for_host():
        self.add_configure_and_make_env_arg("AR", str(self.sdk_bindir / "llvm-ar"))
        # tell postgres configure that %zu works in printf()
        self.add_configure_and_make_env_arg("PRINTF_SIZE_T_SUPPORT", "yes")
        # currently we can only build static:
        # self.LDFLAGS.append("-static")
        # self.COMMON_FLAGS.append("-static")  # adding it to LDFLAGS only doesn't seem to be enough
        self.configure_args.extend(["--without-libxml", "--without-readline", "--without-gssapi"])
    else:
        self.configure_args.extend(["--with-libxml", "--with-readline", "--without-gssapi"])
    if self.force_static_linkage:
        self.add_configure_env_arg("LDFLAGS_EX", "-static")
        self.COMMON_FLAGS.append("-DDISABLE_LOADABLE_MODULES=1")
    if self.should_include_debug_info:
        self.configure_args.append("--enable-debug")
    else:
        self.configure_args.append("--disable-debug")