mkdir -p $(WORK)/build-gcc-final
touch $(WORK)/build-gcc-final
-$(CROSSTOOLS)/$(TARGET)/lib/libgomp.a: $(WORK)/build-gcc-final $(WORK)/gcc-$(GCC_VERSION)
+$(CROSSTOOLS)/$(TARGET)/lib/libgomp.so: $(WORK)/build-gcc-final $(WORK)/gcc-$(GCC_VERSION)
cd $(WORK)/build-gcc-final && \
export PATH=$$PATH:$(CROSSTOOLS)/bin && \
unset CFLAGS && unset CXXFLAGS && unset CC && \
--enable-c99 --enable-long-long --enable-threads=posix && \
make AS_FOR_TARGET="$(TARGET)-as" LD_FOR_TARGET="$(TARGET)-ld" && \
make install || exit 1
- touch $(CLFS)/lib/gcc$(CROSSTOOLS)/lib/gcc/$(TARGET)/$(GCC_VERSION)/include/omp.h
+ touch $(CLFS)/lib/gcc$(CROSSTOOLS)/lib/gcc/$(TARGET)/lib/libgomp.so
gcc-final: libgmp libmpfr uclibc $(CROSSTOOLS)/$(TARGET)/lib/libgomp.a