X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fportals%2Farchdep.m4;h=aec9e82d9a07771affe7adea2e6b24350ba3c77a;hp=31d1dfd2419e75eb15d4af81583b3b697277edaf;hb=1c69f318d65482a8df3fecf3a323bc7c7f98cb98;hpb=9a0d69bddfbbc978fbdec5924b3657d95dff6640 diff --git a/lustre/portals/archdep.m4 b/lustre/portals/archdep.m4 index 31d1dfd..aec9e82 100644 --- a/lustre/portals/archdep.m4 +++ b/lustre/portals/archdep.m4 @@ -171,6 +171,8 @@ KINCFLAGS="$CRAY_PORTALS_INCLUDE $CRAY_PORTALS_COMMANDLINE \ -I\$(top_srcdir)/portals/include" if test $host_cpu != "lib" ; then KINCFLAGS="$KINCFLAGS -I$LINUX/include -I$LINUX/include" +else + KINCFLAGS="$KINCFLAGS -I\$(top_srcdir)/utils -I\$(top_srcdir)/portals/unals" fi CPPFLAGS="$KINCFLAGS $ARCHCPPFLAGS" @@ -342,6 +344,9 @@ AC_SUBST(SCIMACNAL) CFLAGS="$KCFLAGS" CPPFLAGS="$KINCFLAGS $KCPPFLAGS $MFLAGS $enable_zerocopy $enable_affinity $with_quadrics $with_gm $with_scamac $with_ib" +if test $host_cpu == "lib" ; then +CPPFLAGS="$CPPFLAGS -fPIC -D_LARGEFILE64_SOURCE=1 -g" +fi AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib) AC_SUBST(MOD_LINK)