Skip to content

Commit

Permalink
fixed: POSIX feature test macros should be passed to all of the crap …
Browse files Browse the repository at this point in the history
…we build

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30978 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
althekiller committed Jun 8, 2010
1 parent 52cff3f commit 5db3652
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Makefile.include.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ INCLUDES+=@INCLUDES@
DEFINES+= \
-D_LINUX \
-D_FILE_DEFINED \
-D_REENTRANT \
-D_LARGEFILE64_SOURCE \
-D_FILE_OFFSET_BITS=64 \
-D__STDC_CONSTANT_MACROS \
-DBIN_INSTALL_PATH="\"$(libdir)/xbmc\"" \
-DINSTALL_PATH="\"$(datarootdir)/xbmc\"" \
Expand Down
6 changes: 3 additions & 3 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -275,14 +275,14 @@ AC_ARG_ENABLE([external-python],

use_external_libass="yes"
### End of external library options

DEFAULT_COMPILE_FLAGS="-fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
# Checks for programs.
PASSED_CXXFLAGS=$CXXFLAGS # Hack to override autoconf default values
AC_PROG_CXX
CXXFLAGS=$PASSED_CXXFLAGS
CXXFLAGS="$PASSED_CXXFLAGS $DEFAULT_COMPILE_FLAGS"
PASSED_CFLAGS=$CFLAGS # Hack to override autoconf default values
AC_PROG_CC
CFLAGS=$PASSED_CFLAGS
CFLAGS="$PASSED_CFLAGS $DEFAULT_COMPILE_FLAGS"
AC_PROG_AWK
AC_PROG_LN_S
AC_PROG_MAKE_SET
Expand Down

0 comments on commit 5db3652

Please sign in to comment.