CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Makefile: fixed gcc-final objective. 2.6
authorVictor Martinez <pitillo@ono.com>
Fri, 28 Jan 2011 09:46:58 +0000 (09:46 +0000)
committerVictor Martinez <pitillo@ono.com>
Fri, 28 Jan 2011 09:46:58 +0000 (09:46 +0000)
Makefile

index e6daff22685e2cf1949bc0ae0b3337d77ecd8ee7..ef2751f1050c83128bc79d113051a20ae8df04d5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -200,7 +200,7 @@ $(WORK)/build-gcc-final: $(WORK)/gcc-$(GCC_VERSION)
        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 && \
@@ -214,7 +214,7 @@ $(CROSSTOOLS)/$(TARGET)/lib/libgomp.a: $(WORK)/build-gcc-final $(WORK)/gcc-$(GCC
                --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