fix
This commit is contained in:
@@ -3,9 +3,9 @@ NovaCoin official development tree
|
||||
|
||||
NovaCoin - a hybrid scrypt PoW + PoS based cryptocurrency.
|
||||
|
||||
* 10 minute PoW block targets
|
||||
* 10 minute PoS block targets
|
||||
* The PoW subsidy halves every x64 multiply of difficulty
|
||||
* 10 minute block spacing
|
||||
* The PoW subsidy halves every x64 multiply of PoW difficulty
|
||||
* The PoS interest halves every x64 multiply of PoS difficulty
|
||||
* Maximum PoW reward is 100 coins
|
||||
* ~ 2 billion total coins
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#
|
||||
|
||||
import subprocess, sys, re, os, shutil, stat, os.path
|
||||
from string import Template
|
||||
from time import sleep
|
||||
from argparse import ArgumentParser
|
||||
|
||||
@@ -169,6 +170,11 @@ class DeploymentInfo(object):
|
||||
elif os.path.exists(os.path.join(parentDir, "share", "qt4", "translations")):
|
||||
# MacPorts layout, e.g. "/opt/local/share/qt4"
|
||||
self.qtPath = os.path.join(parentDir, "share", "qt4")
|
||||
elif os.path.exists(os.path.join(os.path.dirname(parentDir), "share", "qt4", "translations")):
|
||||
# Newer Macports layout
|
||||
self.qtPath = os.path.join(os.path.dirname(parentDir), "share", "qt4")
|
||||
else:
|
||||
self.qtPath = os.getenv("QTDIR", None)
|
||||
|
||||
if self.qtPath is not None:
|
||||
pluginPath = os.path.join(self.qtPath, "plugins")
|
||||
@@ -239,7 +245,12 @@ def runStrip(binaryPath, verbose):
|
||||
subprocess.check_call(["strip", "-x", binaryPath])
|
||||
|
||||
def copyFramework(framework, path, verbose):
|
||||
if framework.sourceFilePath.startswith("Qt"):
|
||||
#standard place for Nokia Qt installer's frameworks
|
||||
fromPath = "/Library/Frameworks/" + framework.sourceFilePath
|
||||
else:
|
||||
fromPath = framework.sourceFilePath
|
||||
|
||||
toDir = os.path.join(path, framework.destinationDirectory)
|
||||
toPath = os.path.join(toDir, framework.binaryName)
|
||||
|
||||
@@ -342,7 +353,7 @@ def deployPlugins(appBundleInfo, deploymentInfo, strip, verbose):
|
||||
if pluginDirectory == "designer":
|
||||
# Skip designer plugins
|
||||
continue
|
||||
elif pluginDirectory == "phonon":
|
||||
elif pluginDirectory == "phonon" or pluginDirectory == "phonon_backend":
|
||||
# Deploy the phonon plugins only if phonon is in use
|
||||
if not deploymentInfo.usesFramework("phonon"):
|
||||
continue
|
||||
|
||||
@@ -23,7 +23,7 @@ UI_DIR = build
|
||||
# use: qmake "RELEASE=1"
|
||||
contains(RELEASE, 1) {
|
||||
# Mac: compile for maximum compatibility (10.5, 32-bit)
|
||||
macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
|
||||
macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk
|
||||
|
||||
!windows:!macx {
|
||||
# Linux: static link
|
||||
|
||||
@@ -60,7 +60,7 @@ ifdef RELEASE
|
||||
# Compile for maximum compatibility and smallest size.
|
||||
# This requires that dependencies are compiled
|
||||
# the same way.
|
||||
CFLAGS = -mmacosx-version-min=10.5 -arch i386 -O3 -msse2
|
||||
CFLAGS = -mmacosx-version-min=10.5 -arch x86_64 -O3 -msse2
|
||||
else
|
||||
CFLAGS = -g -msse2
|
||||
endif
|
||||
|
||||
1049
src/scrypt-x86.S
1049
src/scrypt-x86.S
File diff suppressed because it is too large
Load Diff
1204
src/scrypt-x86_64.S
1204
src/scrypt-x86_64.S
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user