ROMIO: Fix configure step portably
[charm.git] / src / libs / ck-libs / ampi / Makefile
index 25bd3b752f143c26de142b0ef375c8272cb874d2..f6a2aef193e36ccb1148d1fa796f795157fb3633 100644 (file)
@@ -39,10 +39,10 @@ all: AMPI AMPIF $(COMPATLIB) $(ROMIO)
 $(ROMIO): | AMPI AMPIF
        @echo "Building ROMIO"
        cd romio && \
-               CFLAGS="$(OPTS)" \
-               FFLAGS="$(OPTS)" \
-               F77=$(CDIR)/bin/ampif90 \
-               CC=$(CDIR)/bin/ampicc \
+               CFLAGS="$(OPTS) -ampi-romio-configure" \
+               FFLAGS="$(OPTS) -ampi-romio-configure" \
+               F77="$(CDIR)/bin/ampif90" \
+               CC="$(CDIR)/bin/ampicc" \
                ./configure \
                --disable-aio \
                --enable-f77=`test -f $(DESTF) && echo yes || echo no` \