mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-10 07:18:39 +00:00
Move -Wcast-align to hb.hh
This commit is contained in:
parent
8874eef8ff
commit
868b0c0c2e
2 changed files with 4 additions and 3 deletions
|
@ -102,9 +102,6 @@ if test "x$GCC" = "xyes"; then
|
|||
# by overriding CXXFLAGS.
|
||||
CXXFLAGS="-fno-rtti $CXXFLAGS -fno-exceptions -fno-threadsafe-statics"
|
||||
|
||||
# Assorted warnings
|
||||
CXXFLAGS="$CXXFLAGS -Wcast-align"
|
||||
|
||||
case "$host" in
|
||||
*-*-mingw*)
|
||||
;;
|
||||
|
|
|
@ -29,6 +29,10 @@
|
|||
#ifndef HB_HH
|
||||
#define HB_HH
|
||||
|
||||
#ifndef HB_NO_GCC_PRAGMAS
|
||||
#pragma GCC diagnostic warning "-Wcast-align"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue